from small one page howto to huge articles all in one place
 

search text in:





Poll
Which screen resolution do you use?










poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

120142

userrating:

average rating: 1.7 (85 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

232888

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

112901

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





NPM\-ADDUSER

Section: (1)
Updated: December 2016
Index Return to Main Contents
 

NAME

npm-adduser - Add a registry user account  

SYNOPSIS

npm adduser [--registry=url] [--scope=@orgname] [--always-auth]

aliases: login, add-user
 

DESCRIPTION

Create or verify a user named <username> in the specified registry, and save the credentials to the .npmrc file. If no registry is specified, the default registry will be used (see npm help 7 npm-config). The username, password, and email are read in from prompts. To reset your password, go to https://www.npmjs.com/forgot To change your email address, go to https://www.npmjs.com/email-edit You may use this command multiple times with the same user account to authorize on a new machine. When authenticating on a new machine, the username, password and email address must all match with your existing record. npm login is an alias to adduser and behaves exactly the same way.  

CONFIGURATION

 

registry

Default: https://registry.npmjs.org/ The base URL of the npm package registry. If scope is also specified, this registry will only be used for packages with that scope. scope defaults to the scope of the project directory you're currently in, if any. See npm help 7 npm-scope.  

scope

Default: none If specified, the user and login credentials given will be associated with the specified scope. See npm help 7 npm-scope. You can use both at the same time, e.g.
npm adduser --registry=http://myregistry.example.com --scope=@myco
This will set a registry for the given scope and login or create a user for that registry at the same time.  

always-auth

Default: false If specified, save configuration indicating that all requests to the given registry should include authorization information. Useful for private registries. Can be used with --registry and / or --scope, e.g.
npm adduser --registry=http://private-registry.example.com --always-auth
This will ensure that all requests to that registry (including for tarballs) include an authorization header. This setting may be necessary for use with private registries where metadata and package tarballs are stored on hosts with different hostnames. See always-auth in npm help 7 npm-config for more details on always-auth. Registry-specific configuration of always-auth takes precedence over any global configuration.  

SEE ALSO

*
npm help 7 registry
*
npm help config
*
npm help 7 config
*
npm help 5 npmrc
*
npm help owner
*
npm help whoami


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIGURATION
registry
scope
always-auth
SEE ALSO





Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2018 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 2.9 ms