Skip to content

Linux 安装 nodejs

shell
# 添加 NodeSource 仓库
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -

# 安装 Node.js
sudo apt-get install -y nodejs

# 验证安装版本
node -v

亲手创建自己所需的软件,是程序员的幸运。