rtoews@toewsweb-deb:/var/www/lab.toewsweb.net$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.5 (jessie)
Release: 8.5
Codename: jessie
rtoews@toewsweb-deb:/var/www/lab.toewsweb.net$ npm cache clear
rtoews@toewsweb-deb:/var/www/lab.toewsweb.net$ sudo npm install -g angular-cli
[sudo] password for rtoews:
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
rtoews@toewsweb-deb:/var/www/lab.toewsweb.net$ npm list -g --depth=0807
/usr/lib
├── babel@6.5.2
├── http-server@0.9.0
├── karma@1.4.0
├── npm@4.1.1
└── webpack@1.13.3
rtoews@toewsweb-deb:/var/www/lab.toewsweb.net$ ng -h
-bash: /usr/bin/ng: No such file or directory
我正在尝试在运行Debian 8.5的digitalocean帐户上安装angular-cli。指令非常简单,无处不在。我发出sudo npm install -g angular-cli命令,我最终返回一个提示符,没有指示终端错误。
但是,如果我然后执行npm list -g --depth = 0来查看已安装的内容,则缺少angular-cli。应该是吗?
更重要的是,ng命令似乎不可用。
建议?