“npm

编程入门 行业动态 更新时间:2024-10-19 06:19:11
npm -d install”中的“-d”是什么?(What is the “-d” in “npm -d install”?)

我看到一些帖子指的是使用-d参数运行npm 。 例如, 这个问题指的是做npm -d install coffee-script 。 还有一些其他页面也引用了这种语法,包括至少一个npm软件包的安装说明 。

但是我一直找不到这个-d参数的任何文档。 npm install的文档不提供-d ,也不是npm常见问题解答 ,也没有提供任何其他文档页面。

-d选项是否执行任何操作? 如果是这样,什么?

I've seen some posts that refer to running npm with a -d argument. For example, this issue refers to doing npm -d install coffee-script. There are a few other pages that also refer to this syntax, including the install instructions for at least one npm package.

But I've been unable to find any documentation for this -d argument. The docs for npm install make no mention of -d, nor does the npm FAQ, nor do any of the other documentation pages I've looked through.

Does the -d option do anything? If so, what?

最满意答案

看起来更难! :)

https://docs.npmjs.com/misc/config#shorthands-and-other-cli-niceties

这是--loglevel info的捷径

Look harder! :)

https://docs.npmjs.com/misc/config#shorthands-and-other-cli-niceties

It's a shortcut for --loglevel info

更多推荐

本文发布于:2023-08-05 06:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1428903.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:npm

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!