nodejs
https://github.com/nodesource/distributions/blob/master/README.md#debinstall
Installation instructions
Node.js v14.x:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
Node.js v12.x:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
Node.js v10.x:
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
Node.js LTS (v12.x):
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
// 设置淘宝源
npm config set registry https://registry.npm.taobao.org
// 查看使用的源
npm config get registry
相关文章
- 09-02Tensorflow问题记录 --pydot Failed to import pydot. You must install pydot and graphviz for pydotprint to
- 09-02关于Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work的处理建议
- 09-02file xxx from install of xxx conflicts with file from xxx
- 09-02ML学习笔记之Anaconda中命令形式安装XGBoost(pip install)
- 09-02什么是’动作android:name =“com.android.vending.INSTALL_REFERRER”’?
- 09-02bower install和cnpm install
- 09-02freebsd make install openjdk6
- 09-02The program 'yum' is currently not installed. You can install it by typing:
- 09-02poetry install报错,提示“relative path can‘t be expressed as a file URI”
- 09-02npm install 安装报错,Unhandled rejection RangeError: Maximum call stack size exceeded