We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以在界面上一键全局安装cnpm yarn pnpm等包,避免切换版本后,需要手动的使用-g命令安装。甚至如果能直接自定义命令就更好了。配置后,每次切换node版本后只需要点一下就执行了。。
The text was updated successfully, but these errors were encountered:
在 nvm-desktop 设计之初就是想让每个node之间都相互隔离、互不影响的,就跟自己本地新安装node一样。
nvm-desktop
node
不过应该有一个办法能够暂时解决这个问题,就是通过 npm config set prefix "/path/to/folder" 更改全局安装包的位置,这样切换 node 版本之后也能共用,就不需要再重新安装了。不过需要注意的是需要将 "/path/to/folder" 目录添加到系统环境变量(保证其优先级),具体可以参考:(#23)
npm config set prefix "/path/to/folder"
"/path/to/folder"
Sorry, something went wrong.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
No branches or pull requests
可以在界面上一键全局安装cnpm yarn pnpm等包,避免切换版本后,需要手动的使用-g命令安装。甚至如果能直接自定义命令就更好了。配置后,每次切换node版本后只需要点一下就执行了。。
The text was updated successfully, but these errors were encountered: