1 .TH "NPM\-LOGOUT" "1" "October 2016" "" ""
3 \fBnpm-logout\fR \- Log out of the registry
8 npm logout [\-\-registry=url] [\-\-scope=@orgname]
13 When logged into a registry that supports token\-based authentication, tell the
14 server to end this token's session\. This will invalidate the token everywhere
15 you're using it, not just for the current environment\.
17 When logged into a legacy registry that uses username and password authentication, this will
18 clear the credentials in your user configuration\. In this case, it will \fIonly\fR affect
19 the current environment\.
21 If \fB\-\-scope\fP is provided, this will find the credentials for the registry
22 connected to that scope, if set\.
26 Default: https://registry\.npmjs\.org/
28 The base URL of the npm package registry\. If \fBscope\fP is also specified,
34 If specified, you will be logged out of the specified scope\. See npm help 7 \fBnpm\-scope\fP\|\.
38 npm logout \-\-scope=@myco