我在我的机器上使用 Windows 10,目前在它上面安装了 git bash。
我想为我的应用程序安装 node 和 npm。
当我尝试:
apt-get 安装 nodejs
找不到“apt-get”命令,
我试过谷歌并得到
须藤安装 nodejs
未找到“sudo”命令。
如何在我的 git bash 上使用 sudo 和 apt-get 命令。
小智 1
在 git bash 中安装应用程序对我来说听起来不太合适。我建议您使用本机 Windows 安装程序 ( https://nodejs.org/ ),或者,如果您更喜欢包管理器,请使用 Chocolatey ( https://chocolatey.org/ ) 来安装 Nodejs:
choco install nodejs
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
32769 次 |
| 最近记录: |