- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 4.9k
 
npm-profile: add page #19051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    npm-profile: add page #19051
Changes from 15 commits
      Commits
    
    
            Show all changes
          
          
            16 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      6cbb58d
              
                add page: npm-profile
              
              
                Sreyasiv ceea7c1
              
                npm-profile: add page
              
              
                Sreyasiv 610bb6a
              
                Merge branch 'npm_profile' of https://github.com/Sreyasiv/tldr into n…
              
              
                Sreyasiv 2b6651a
              
                Final: Resolve remaining linting errors
              
              
                Sreyasiv a3c2e36
              
                Final: Resolve remaining linting errors
              
              
                Sreyasiv 99200ff
              
                Final:Added the extra space
              
              
                Sreyasiv d78b76d
              
                Final:Removed white spaces
              
              
                Sreyasiv 87cfcbd
              
                Fix formatting of npm profile command example
              
              
                Sreyasiv ad3310f
              
                Refactor npm profile command inconsistencies
              
              
                Sreyasiv bc9bef3
              
                Update npm-profile.md
              
              
                Sreyasiv 337f1d0
              
                Update pages/common/npm-profile.md
              
              
                Sreyasiv 9084101
              
                Update pages/common/npm-profile.md
              
              
                Sreyasiv fe9912a
              
                Update pages/common/npm-profile.md
              
              
                Sreyasiv c745e89
              
                Correct minor grammatical issues in npm-profile.md
              
              
                Sreyasiv 0c338b4
              
                Add password setting instructions to npm-profile.md
              
              
                Sreyasiv d90f0bf
              
                Apply suggestions from code review
              
              
                Managor File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # npm profile | ||
| 
     | 
||
| > Manage the npm profile and related settings. | ||
| > Note: This command is unaware of workspaces. | ||
| > More information: <https://docs.npmjs.com/cli/npm-profile>. | ||
| 
     | 
||
| - View the npm profile details: | ||
| 
     | 
||
| `npm profile get` | ||
| 
     | 
||
| - View a specific property of your profile: | ||
| 
     | 
||
| `npm profile get {{property}}` | ||
| 
     | 
||
| - Set or update a profile property: | ||
| 
     | 
||
| `npm profile set {{property}} {{value}}` | ||
| 
     | 
||
| - Set the public email address: | ||
| 
     | 
||
| `npm profile set email {{email}}` | ||
| 
     | 
||
| - Set the public name: | ||
| 
     | 
||
| `npm profile set fullname {{name}}` | ||
| 
     | 
||
| - Set a new password: | ||
                
      
                  Managor marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| `npm profile set password` | ||
| 
     | 
||
| - Enable two-factor authentication (2FA) (defaults to `auth-and-writes`): | ||
| 
     | 
||
| `npm profile enable-2fa {{auth-only|auth-and-writes}}` | ||
| 
     | 
||
| - Disable two-factor authentication (2FA): | ||
| 
     | 
||
| `npm profile disable-2fa` | ||
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.