npm -i标志是什么意思?

npm中的“i”标志是做什么的?

我看到它是这样使用的:

npm i backbone.marionette

我查看了npm文档,并在Google上search了相当数量的文档。 我不确定这是旗帜或命令,或者根本不是一个npm的东西?

我的标志是安装。 从文档:

 npm install npm install <pkg> npm install <pkg>@<tag> npm install <pkg>@<version> npm install <pkg>@<version range> npm install <folder> npm install <tarball file> npm install <tarball url> npm install <git:// url> npm install <github username>/<github project> Can specify one or more: npm install ./foo.tgz bar@stable /some/folder If no argument is supplied and ./npm-shrinkwrap.json is present, installs dependencies specified in the shrinkwrap. Otherwise, installs dependencies from ./package.json. 

我是https://docs.npmjs.com/cli/install中提到的;npm-install别名

您可以将它与所有npm-install标志一起使用。 例如,下面将使用npm i安装angular-js和live服务器

 npm i angular2@2.0.0-alpha.45 --save --save-exact npm i live-server --save-dev