404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.145.82.96: ~ $
.HR
.P
section: cli\-commands
title: npm\-adduser
description: Set access level on published packages
.HR
.TH "NPM\-ADDUSER" "1" "August 2020" "" ""
.SH "NAME"
\fBnpm-adduser\fR \- Add a registry user account
.SS Synopsis
.P
.RS 2
.nf
npm adduser [\-\-registry=url] [\-\-scope=@orgname] [\-\-always\-auth] [\-\-auth\-type=legacy]

aliases: login, add\-user
.fi
.RE
.SS Description
.P
Create or verify a user named \fB<username>\fP in the specified registry, and
save the credentials to the \fB\|\.npmrc\fP file\. If no registry is specified,
the default registry will be used (see npm help \fBconfig\fP)\.
.P
The username, password, and email are read in from prompts\.
.P
To reset your password, go to https://www\.npmjs\.com/forgot
.P
To change your email address, go to https://www\.npmjs\.com/email\-edit
.P
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\.
.P
\fBnpm login\fP is an alias to \fBadduser\fP and behaves exactly the same way\.
.SS Configuration
.SS registry
.P
Default: https://registry\.npmjs\.org/
.P
The base URL of the npm package registry\. If \fBscope\fP is also specified,
this registry will only be used for packages with that scope\. \fBscope\fP defaults
to the scope of the project directory you're currently in, if any\. See npm help \fBscope\fP\|\.
.SS scope
.P
Default: none
.P
If specified, the user and login credentials given will be associated
with the specified scope\. See npm help \fBscope\fP\|\. You can use both at the same time,
e\.g\.
.P
.RS 2
.nf
    npm adduser \-\-registry=http://myregistry\.example\.com \-\-scope=@myco
.fi
.RE
.P
This will set a registry for the given scope and login or create a user for
that registry at the same time\.
.SS always\-auth
.P
Default: false
.P
If specified, save configuration indicating that all requests to the given
registry should include authorization information\. Useful for private
registries\. Can be used with \fB\-\-registry\fP and / or \fB\-\-scope\fP, e\.g\.
.P
.RS 2
.nf
    npm adduser \-\-registry=http://private\-registry\.example\.com \-\-always\-auth
.fi
.RE
.P
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 \fBalways\-auth\fP in npm help \fBconfig\fP for more details on always\-auth\. Registry\-specific configuration of \fBalways\-auth\fP takes precedence over any global configuration\.
.SS auth\-type
.RS 0
.IP \(bu 2
Default: \fB\|'legacy'\fP
.IP \(bu 2
Type: \fB\|'legacy'\fP, \fB\|'sso'\fP, \fB\|'saml'\fP, \fB\|'oauth'\fP

.RE
.P
What authentication strategy to use with \fBadduser\fP/\fBlogin\fP\|\. Some npm registries
(for example, npmE) might support alternative auth strategies besides classic
username/password entry in legacy npm\.
.SS See Also
.RS 0
.IP \(bu 2
npm help registry
.IP \(bu 2
npm help config
.IP \(bu 2
npm help npmrc
.IP \(bu 2
npm help owner
.IP \(bu 2
npm help whoami

.RE

Filemanager

Name Type Size Permission Actions
npm-README.1 File 4.77 KB 0644
npm-access.1 File 2.99 KB 0644
npm-adduser.1 File 3.12 KB 0644
npm-audit.1 File 4.39 KB 0644
npm-bin.1 File 379 B 0644
npm-bugs.1 File 1.05 KB 0644
npm-build.1 File 639 B 0644
npm-bundle.1 File 410 B 0644
npm-cache.1 File 2.76 KB 0644
npm-ci.1 File 2 KB 0644
npm-completion.1 File 960 B 0644
npm-config.1 File 1.62 KB 0644
npm-dedupe.1 File 1.46 KB 0644
npm-deprecate.1 File 952 B 0644
npm-dist-tag.1 File 3.18 KB 0644
npm-docs.1 File 1.14 KB 0644
npm-doctor.1 File 4.84 KB 0644
npm-edit.1 File 1.07 KB 0644
npm-explore.1 File 1.11 KB 0644
npm-fund.1 File 1.68 KB 0644
npm-help-search.1 File 926 B 0644
npm-help.1 File 965 B 0644
npm-hook.1 File 2.05 KB 0644
npm-init.1 File 2.37 KB 0644
npm-install-ci-test.1 File 297 B 0644
npm-install-test.1 File 755 B 0644
npm-install.1 File 19.63 KB 0644
npm-link.1 File 2.8 KB 0644
npm-logout.1 File 1.25 KB 0644
npm-ls.1 File 2.79 KB 0644
npm-org.1 File 1.09 KB 0644
npm-outdated.1 File 4.28 KB 0644
npm-owner.1 File 1.21 KB 0644
npm-pack.1 File 986 B 0644
npm-ping.1 File 509 B 0644
npm-prefix.1 File 618 B 0644
npm-profile.1 File 3.49 KB 0644
npm-prune.1 File 1.43 KB 0644
npm-publish.1 File 3.14 KB 0644
npm-rebuild.1 File 465 B 0644
npm-repo.1 File 773 B 0644
npm-restart.1 File 957 B 0644
npm-root.1 File 374 B 0644
npm-run-script.1 File 3.69 KB 0644
npm-search.1 File 3.11 KB 0644
npm-shrinkwrap.1 File 848 B 0644
npm-star.1 File 544 B 0644
npm-stars.1 File 539 B 0644
npm-start.1 File 748 B 0644
npm-stop.1 File 382 B 0644
npm-team.1 File 2.26 KB 0644
npm-test.1 File 399 B 0644
npm-token.1 File 3.68 KB 0644
npm-uninstall.1 File 1.63 KB 0644
npm-unpublish.1 File 1.38 KB 0644
npm-update.1 File 3.73 KB 0644
npm-version.1 File 4.84 KB 0644
npm-view.1 File 3.26 KB 0644
npm-whoami.1 File 342 B 0644
npm.1 File 5.53 KB 0644
npx.1 File 6.7 KB 0644