How to set env var for .npmrc use

丶灬走出姿态 提交于 2019-11-29 07:21:27

You can add the environment variable to your .bashrc or other startup shell file.

export NPM_TOKEN=my_token_goes_here_foo_bar

The npmrc docs are wrong, as it turns out.

Variable expansion is $EXPAND_ME, not ${EXPAND_ME}.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!