forked from nodists/nodist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usage.txt
71 lines (45 loc) · 2.95 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
A node version manager for windows
Usage:
nodist List all installed node versions.
nodist list
nodist ls
nodist dist List all available node versions.
nodist ds
nodist add <version> Download the specified node version.
nodist + <version>
nodist rm <version> Uninstall the specified node version.
nodist - <version>
nodist <version> Use the specified node version globally
nodist global <version> (downloads the executable, if necessary).
nodist use <version> Use <version> in the current environment only
nodist env <version> (usually the current terminal window).
nodist local <version> Use <version> in this directory and its subdirectories.
(will add a ./node-version file)
nodist args <version> <args..> Set command line args that will always be passed
to this version (e.g. --harmony-generators or v8 tweaks).
Omit <args..> to reset.
nodist run <version> -- <args..> Run <args> with the specified node version
nodist r <version> -- <args..> (downloads the executable, if necessary).
nodist bin <version> Get the path to the specified node executable
(downloads the executable, if necessary).
nodist path <version> Get the path to the specified node version directory
(downloads the executable, if necessary).
nodist selfupdate Update nodist's dependencies.
nodist --help Display this help
nodist -v Display nodist version
Examples:
nodist 0.8.1 Use node v0.8.1 globally
nodist v0.5.10 Use node v0.5.10 globally
nodist - 0.5.10 Uninstall node v0.5.10
nodist r v0.8.1 -- foo.js -s Run `foo.js -s` with node v0.8.1, regardless
of the global version
nodist latest Use the latest available node version globally
(downloads the executable, if necessary).
nodist stable Use the latest stable available node version
globally (downloads the executable, if necessary).
nodist + all Installs *all* available node versions.
(Get yourself a cuppa in the meantime...)
Env vars:
NODIST_X64 Will always use the 64bit versions if set to '1'
HTTP_PROXY Will use the Url and port specified as a proxy
(e.g. http://myproxy.com:8213 )