imsun 大佬有话说 : 2020-1-26 07:43:21
【不懂就要问】请教,如何安装 NOW CLI 工具?
本帖最后由 imsun 于 2020-1-26 07:44 编辑
debian 9 萌咖
apt-get install git
apt-get install now
apt-get install nmp
npm i -g now
所有的口令我都试过了,还是无法安装
源也换成了 阿里debian9 源,依旧还是无法安装
—
E: Unable to locate package now
root@debian:~# npm i -g now
-bash: npm: command not found
root@debian:~# now login
-bash: now: command not found
root@debian:~# apt-get install nmp
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package nmp
google-chrome 大佬有话说 : 2020-1-26 07:46:42
你应该贴出now-cli这个工具的地址
蓝瘦香菇 大佬有话说 : 2020-1-26 07:47:47
npm都没装上。。。
google-chrome 大佬有话说 : 2020-1-26 07:50:37
Unable to locate package nmp 是 npm
google-chrome 大佬有话说 : 2020-1-26 08:00:21
本帖最后由 google-chrome 于 2020-1-26 08:02 编辑
https://github.com/nodesource/distributions
sudo apt-get install -y curl
sudo curl -sL https://deb.nodesource.com/setup_13.x | bash –
sudo apt-get install -y nodejs