Node.js npm安装错误CLI

Node.js npm安装错误CLI,node.js,ibm-mobilefirst,Node.js,Ibm Mobilefirst,我正在尝试安装CLI。我得到以下错误 你们能告诉我怎么解决吗。Tks Tungs-MacBook-Pro:~ tungvu$ npm install -g --no-optional path_cli_file npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--no-optional" "path_cli_file" npm ERR! node v7.

我正在尝试安装CLI。我得到以下错误 你们能告诉我怎么解决吗。Tks

Tungs-MacBook-Pro:~ tungvu$ npm install -g --no-optional path_cli_file
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--no-optional" "path_cli_file"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/path_cli_file
npm ERR! 404 
npm ERR! 404  'path_cli_file' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/tungvu/npm-debug.log

从文档中,您应该运行

npm安装-g-无可选的mfpdev cli

或者,如果您已在本地下载了tar文件,则可以运行


npm install-g-无可选/path/to/mfpdev cli.tgz

您要安装的到底是什么?错误告诉您,路径cli_文件在上不存在。您可能还想重新阅读我正在尝试安装mfpdev-cli.tgz