| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | .TH "NPM\-LOGOUT" "1" "August 2021" "" "".SH "NAME"\fBnpm-logout\fR \- Log out of the registry.SS Synopsis.P.RS 2.nfnpm logout [\-\-registry=<url>] [\-\-scope=<@scope>].fi.RE.SS Description.PWhen logged into a registry that supports token\-based authentication, tell theserver to end this token's session\. This will invalidate the token everywhereyou're using it, not just for the current environment\..PWhen logged into a legacy registry that uses username and password authentication, this willclear the credentials in your user configuration\. In this case, it will \fIonly\fR affectthe current environment\..PIf \fB\-\-scope\fP is provided, this will find the credentials for the registryconnected to that scope, if set\..SS Configuration.SS registry.PDefault: https://registry\.npmjs\.org/.PThe base URL of the npm package registry\. If \fBscope\fP is also specified,it takes precedence\..SS scope.PDefault: The scope of your current project, if any, otherwise none\..PIf specified, you will be logged out of the specified scope\. See npm help \fBscope\fP\|\..P.RS 2.nfnpm logout \-\-scope=@myco.fi.RE.SS See Also.RS 0.IP \(bu 2npm help adduser.IP \(bu 2npm help registry.IP \(bu 2npm help config.IP \(bu 2npm help whoami.RE
 |