/var/lang/lib/node_modules/npm/man/man1
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
.TH "NPM-ADDUSER" "1" "February 2026" "NPM@11.11.0" "".SH "NAME"\fBnpm-adduser\fR - Add a registry user account.SS "Synopsis".P.RS 2.nfnpm adduser alias: add-user.fi.RE.PNote: This command is unaware of workspaces..SS "Description".PCreate a new user in the specified registry, and save the credentials to the \fB.npmrc\fR file. If no registry is specified, the default registry will be used (see npm help registry)..PWhen you run \fBnpm adduser\fR, the CLI automatically generates a legacy token of \fBpublish\fR type. For more information, see \fBAbout legacy tokens\fR \fI\(la/about-access-tokens#about-legacy-tokens\(ra\fR..PWhen using \fBlegacy\fR for your \fBauth-type\fR, the username, password, and email are read in from prompts..SS "Configuration".SS "\fBregistry\fR".RS 0.IP \(bu 4Default: "https://registry.npmjs.org/".IP \(bu 4Type: URL.RE 0 .PThe base URL of the npm registry..SS "\fBscope\fR".RS 0.IP \(bu 4Default: the scope of the current project, if any, or "".IP \(bu 4Type: String.RE 0 .PAssociate an operation with a scope for a scoped registry..PUseful when logging in to or out of a private registry:.P.RS 2.nf# log in, linking the scope to the custom registrynpm login --scope=@mycorp --registry=https://registry.mycorp.com # log out, removing the link and the auth tokennpm logout --scope=@mycorp.fi.RE.PThis will cause \fB@mycorp\fR to be mapped to the registry for future installation of packages specified according to the pattern \fB@mycorp/package\fR..PThis will also cause \fBnpm init\fR to create a scoped package..P.RS 2.nf# accept all defaults, and create a package named "@foo/whatever",# instead of just named "whatever"npm init --scope=@foo --yes.fi.RE.SS "\fBauth-type\fR".RS 0.IP \(bu 4Default: "web".IP \(bu 4Type: "legacy" or "web".RE 0 .PWhat authentication strategy to use with \fBlogin\fR. Note that if an \fBotp\fR config is given, this value will always be set to \fBlegacy\fR..SS "See Also".RS 0.IP \(bu 4npm help registry.IP \(bu 4npm help config.IP \(bu 4npm help npmrc.IP \(bu 4npm help owner.IP \(bu 4npm help whoami.IP \(bu 4npm help token.IP \(bu 4npm help profile.RE 0