mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
fix help page of nodesource
This commit is contained in:
parent
6f9f1039c9
commit
a44f55b9b8
|
|
@ -190,9 +190,9 @@ $(document).ready(function(){
|
|||
'archlinuxcn': '/wiki/archlinuxcn.md',
|
||||
'homebrew': '/wiki/homebrew.md',
|
||||
'linux.git': '/wiki/linux.md',
|
||||
'nodesource': '/wiki/nodesource.md',
|
||||
<!--'ubuntu': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/ubuntu',-->
|
||||
<!--'raspbian': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/raspbian',-->
|
||||
<!--'nodesource': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/nodesource',-->
|
||||
<!--'pypi': "https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/pypi",-->
|
||||
<!--'repo-ck': 'https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/repo-ck'-->
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
Nodesource 镜像使用帮助
|
||||
=======================
|
||||
|
||||
Nodesource 为 debian, ubuntu, fedora, RHEL 等发行版提供预编译的 nodejs
|
||||
和 npm 等软件包。
|
||||
|
||||
debian/ubuntu 使用方法
|
||||
----------------------
|
||||
|
||||
运行
|
||||
```
|
||||
curl -sL https://deb.nodesource.com/setup | sudo bash -
|
||||
```
|
||||
|
||||
编辑 `/etc/apt/sources.list.d/nodesource.list`,把
|
||||
`https://deb.nodesource.com/node/` 替换为
|
||||
`http://mirrors.tuna.tsinghua.edu.cn/nodesource/deb/` 即可。
|
||||
Loading…
Reference in New Issue