]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/cli/npm-logout.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / cli / npm-logout.md
1 npm-logout(1) -- Log out of the registry
2 ========================================
3
4 ## SYNOPSIS
5
6     npm logout [--registry=url] [--scope=@orgname]
7
8 ## DESCRIPTION
9
10 When logged into a registry that supports token-based authentication, tell the
11 server to end this token's session. This will invalidate the token everywhere
12 you're using it, not just for the current environment.
13
14 When logged into a legacy registry that uses username and password authentication, this will
15 clear the credentials in your user configuration. In this case, it will _only_ affect
16 the current environment.
17
18 If `--scope` is provided, this will find the credentials for the registry
19 connected to that scope, if set.
20
21 ## CONFIGURATION
22
23 ### registry
24
25 Default: https://registry.npmjs.org/
26
27 The base URL of the npm package registry. If `scope` is also specified,
28 it takes precedence.
29
30 ### scope
31
32 Default: none
33
34 If specified, you will be logged out of the specified scope. See `npm-scope(7)`.
35
36     npm logout --scope=@myco
37
38 ## SEE ALSO
39
40 * npm-adduser(1)
41 * npm-registry(7)
42 * npm-config(1)
43 * npm-config(7)
44 * npmrc(5)
45 * npm-whoami(1)