-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzh-CN.json
202 lines (202 loc) · 4.27 KB
/
zh-CN.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"root": [
{
"name": "list-remote",
"alias": [
"ls-remote"
],
"tip": [
"List all remote Node.js versions"
]
},
{
"name": "list",
"alias": [
"ls"
],
"tip": [
"List all locally installed Node.js versions"
]
},
{
"name": "install",
"tip": [
"Install a new Node.js version"
]
},
{
"name": "use",
"tip": [
"Change Node.js version"
]
},
{
"name": "env",
"tip": [
"Print and set up required environment variables for fnm"
]
},
{
"name": "completions",
"tip": [
"Print shell completions to stdout"
]
},
{
"name": "alias",
"tip": [
"Alias a version to a common name"
]
},
{
"name": "unalias",
"tip": [
"Remove an alias definition"
]
},
{
"name": "default",
"tip": [
"Set a version as the default version"
]
},
{
"name": "current",
"tip": [
"Print the current Node.js version"
]
},
{
"name": "exec",
"tip": [
"Run a command within fnm context"
]
},
{
"name": "uninstall",
"tip": [
"Uninstall a Node.js version"
]
},
{
"name": "help",
"tip": [
"Print this message or the help of the given subcommand(s)"
]
}
],
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": [
"显示版本信息。"
]
}
],
"common_options": [
{
"name": "--node-dist-mirror",
"next": 0,
"tip": [
"U: --node-dist-mirror <NODE_DIST_MIRROR>\n",
"Set the mirror URL for downloading Node.js dist.\n",
"Default: https://nodejs.org/dist"
]
},
{
"name": "--fnm-dir",
"next": 0,
"tip": [
"U: --fnm-dir <BASE_DIR>\n",
"The root directory of fnm installations."
]
},
{
"name": "--log-level",
"tip": [
"U: --log-level <LOG_LEVEL>\n",
"The log level of fnm commands.\n",
"Default: info"
],
"next": [
{
"name": "quiet"
},
{
"name": "error"
},
{
"name": "info"
}
]
},
{
"name": "--arch",
"next": 0,
"tip": [
"U: --arch <ARCH>\n",
"Override the architecture of the installed Node binary.\n",
"Defaults to arch of fnm binary"
]
},
{
"name": "--version-file-strategy",
"tip": [
"U: --version-file-strategy <VERSION_FILE_STRATEGY>\n",
"A strategy for how to resolve the Node version.\n",
"Used whenever `fnm use` or `fnm install` is called without a version, or when `--use-on-cd` is configured on evaluation.\n",
"Default: local"
],
"next": [
{
"name": "local",
"tip": [
"Use the local version of Node defined within the current directory"
]
},
{
"name": "recursive",
"tip": [
"Use the version of Node defined within the current directory and all parent directories"
]
}
]
},
{
"name": "--corepack-enabled",
"tip": [
" Enable corepack support for each new installation.\n",
"This will make fnm call `corepack enable` on every Node.js installation.\n",
"For more information about corepack see <https://nodejs.org/api/corepack.html>"
]
},
{
"name": "--resolve-engines",
"tip": [
"Resolve `engines.node` field in `package.json` whenever a `.node-version` or `.nvmrc` file is not present.\n",
"Experimental: This feature is subject to change.\n",
"Note: `engines.node` can be any semver range, with the latest satisfying version being resolved."
]
},
{
"name": "--help",
"alias": [
"-h"
],
"tip": [
"显示帮助信息。"
]
}
],
"info": {
"completion_info": {
"url": "https://github.com/Schniz/fnm",
"description": [
"快速、简单的 Node.js 版本管理器,使用 Rust 构建。"
]
}
}
}