-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
[c83d13c] contents(nodejs-release): Add nvs (#160) * Update nodejs-release.mdx add nvs * Update nodejs-release.mdx {{http_protocol}}{{mirror}} * Update nodejs-release.mdx json * Update highlight.tsx * Update nodejs-release.mdx
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"pageProps":{"toc":[{"url":"#","text":"Overview","depth":2},{"url":"#使用方法","depth":3,"text":"使用方法"}],"content":"[\"$r\",null,null,{\"children\":[[\"$r\",\"p\",null,{\"children\":[\"Nodejs Release 为各平台提供预编译的 nodejs 和 npm 等二进制文件,是\\n\",[\"$r\",\"a\",null,{\"href\":\"https://nodejs.org/dist/\",\"rel\":\"nofollow\",\"children\":\"https://nodejs.org/dist/\"}],\" 的镜像。\"]}],\"\\n\",[\"$r\",\"h3\",null,{\"id\":\"使用方法\",\"children\":\"使用方法\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"可以手工选择下载所需的版本,也可以搭配 \",[\"$r\",\"code\",null,{\"children\":\"n\"}],\" 或者 \",[\"$r\",\"code\",null,{\"children\":\"fnm\"}],\" 等版本管理器使用,方法如下:\"]}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"n\",\"children\":\"n\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport NODE_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用 n 即可\\n{{sudo}}n stable\",\"codeLanguage\":\"bash\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"fnm\",\"children\":\"fnm\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport FNM_NODE_DIST_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用 fnm 即可\\nfnm install <version>\",\"codeLanguage\":\"bash\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"volta\",\"children\":\"volta\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"创建或编辑 \",[\"$r\",\"code\",null,{\"children\":\"~/.volta/hooks.json\"}],\" (Linux/MacOS),或 \",[\"$r\",\"code\",null,{\"children\":\"%LOCALAPPDATA%\\\\Volta\\\\hooks.json\"}],\" (Windows),将内容替换如下\"]}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"{\\n \\\"node\\\": {\\n \\\"index\\\": {\\n \\\"template\\\": \\\"{{http_protocol}}{{mirror}}/index.json\\\"\\n },\\n \\\"distro\\\": {\\n \\\"template\\\": \\\"{{http_protocol}}{{mirror}}/v{{version}}/{{filename}}\\\"\\n }\\n }\\n}\",\"codeLanguage\":\"yaml\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"之后即可正常使用 \",[\"$r\",\"code\",null,{\"children\":\"volta\"}]]}],\"\\n\",[\"$r\",\"SyntaxHighlight\",null,{\"code\":\"volta install node@<version>\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"nvm\",\"children\":\"nvm\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport NVM_NODEJS_ORG_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用\\nnvm install <version>\",\"codeLanguage\":\"bash\"}]]}]","meta":{"title":"NodeJS Release 软件仓库镜像使用帮助","cname":"nodejs-release"},"cname":"nodejs-release"},"__N_SSG":true} | ||
{"pageProps":{"toc":[{"url":"#","text":"Overview","depth":2},{"url":"#使用方法","depth":3,"text":"使用方法"}],"content":"[\"$r\",null,null,{\"children\":[[\"$r\",\"p\",null,{\"children\":[\"Nodejs Release 为各平台提供预编译的 nodejs 和 npm 等二进制文件,是\\n\",[\"$r\",\"a\",null,{\"href\":\"https://nodejs.org/dist/\",\"rel\":\"nofollow\",\"children\":\"https://nodejs.org/dist/\"}],\" 的镜像。\"]}],\"\\n\",[\"$r\",\"h3\",null,{\"id\":\"使用方法\",\"children\":\"使用方法\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"可以手工选择下载所需的版本,也可以搭配 \",[\"$r\",\"code\",null,{\"children\":\"n\"}],\" 或者 \",[\"$r\",\"code\",null,{\"children\":\"fnm\"}],\" 等版本管理器使用,方法如下:\"]}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"n\",\"children\":\"n\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport NODE_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用 n 即可\\n{{sudo}}n stable\",\"codeLanguage\":\"bash\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"fnm\",\"children\":\"fnm\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport FNM_NODE_DIST_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用 fnm 即可\\nfnm install <version>\",\"codeLanguage\":\"bash\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"volta\",\"children\":\"volta\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"创建或编辑 \",[\"$r\",\"code\",null,{\"children\":\"~/.volta/hooks.json\"}],\" (Linux/MacOS),或 \",[\"$r\",\"code\",null,{\"children\":\"%LOCALAPPDATA%\\\\Volta\\\\hooks.json\"}],\" (Windows),将内容替换如下\"]}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"{\\n \\\"node\\\": {\\n \\\"index\\\": {\\n \\\"template\\\": \\\"{{http_protocol}}{{mirror}}/index.json\\\"\\n },\\n \\\"distro\\\": {\\n \\\"template\\\": \\\"{{http_protocol}}{{mirror}}/v{{version}}/{{filename}}\\\"\\n }\\n }\\n}\",\"codeLanguage\":\"yaml\"}],\"\\n\",[\"$r\",\"p\",null,{\"children\":[\"之后即可正常使用 \",[\"$r\",\"code\",null,{\"children\":\"volta\"}]]}],\"\\n\",[\"$r\",\"SyntaxHighlight\",null,{\"code\":\"volta install node@<version>\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"nvm\",\"children\":\"nvm\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"# 设定环境变量\\nexport NVM_NODEJS_ORG_MIRROR={{http_protocol}}{{mirror}}/\\n# 然后正常使用\\nnvm install <version>\",\"codeLanguage\":\"bash\"}],\"\\n\",[\"$r\",\"h4\",null,{\"id\":\"nvs\",\"children\":\"nvs\"}],\"\\n\",[\"$r\",\"CodeBlock\",null,{\"code\":\"nvs remote node {{http_protocol}}{{mirror}}/\",\"codeLanguage\":\"bash\"}]]}]","meta":{"title":"NodeJS Release 软件仓库镜像使用帮助","cname":"nodejs-release"},"cname":"nodejs-release"},"__N_SSG":true} |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.