[Seek Help] 如何安装node.js
Tofloor
poster avatar
solothink
deepin
2023-06-22 05:00
Author

想安装一个node.js环境,在deepin下如何安装啊,

Reply Favorite View the author
All Replies
派了个萌
deepin
2023-06-22 05:19
#1

仓库里的版本太低,下载binary版本解压后添加到PATH就行

image.png

Reply View the author
蔡EEPIN
deepin
2023-06-22 05:21
#2

楼上正解

Reply View the author
lizipeng0013
deepin
2023-06-22 05:34
#3

可以参见大神的帖子:https://bbs.deepin.org/post/253943


或者也可以看我的这个手动安装,手动装的这个不想要可以随时删除,只是全局安装时麻烦一点,需要手动指定安装路径

https://bbs.deepin.org/zh/post/257983

Reply View the author
青稚
deepin
2023-06-22 05:40
#4

参考楼上发的我的帖子,可以很快安装。

https://bbs.deepin.org/phone/post/253943

Reply View the author
阿尼樱奈奈
deepin
2023-06-22 05:47
#5

装这个试试:https://nodejs.org/dist/v20.3.1/node-v20.3.1-linux-x64.tar.xz

Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2023-06-22 07:55
#6

下载官网的用不了吗?

Reply View the author
Feng Yu
deepin
2023-06-22 07:56
#7

本地开发环境自己使用肯定还是nvm这一类的version manager好用,多版本切换,自动管理版本

Reply View the author
donaldsebleung
deepin
2023-06-22 17:45
#8
Feng Yu

本地开发环境自己使用肯定还是nvm这一类的version manager好用,多版本切换,自动管理版本

agree

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source "$HOME/.bashrc"
nvm install --lts
Reply View the author