mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-25 04:17:17 +00:00
docs: 批量博文
This commit is contained in:
10
Chapter2 - Web FrontEnd/2.26.md
Normal file
10
Chapter2 - Web FrontEnd/2.26.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Node.js 在 Linux 下的安装
|
||||
|
||||
|
||||
如果是在新电脑上面部署 Node 项目,首先进入官网下载 Node 包,解压到系统的一个合适文件夹
|
||||
执行下面2步命令,将 Node 的命令关联到全局命令,这样就可以在命令行中执行 Node 脚本
|
||||
|
||||
```
|
||||
sudo ln -s /home/LBP/node-v10.12.0-linux-x64/bin/node /usr/local/bin/
|
||||
|
||||
sudo ln -s /home/LBP/node-v10.12.0-linux-x64/bin/npm /usr/local/bin/
|
||||
Reference in New Issue
Block a user