Node.js版本管理器fnm

363次阅读
没有评论

  • C:\Users\wuwuwu\AppData\Local\fnm_multishells

Windows:

winget install Schniz.fnm

设置环境变量

fnm env --use-on-cd --shell powershell | Out-String | Invoke-Expression

把上面的代码写入$profile文件。

接着修改安全策略,不然以上的代码运行会有因权限的问题报安全错误。

正文完
 0
wujingquan
版权声明:本站原创文章,由 wujingquan 于2025-03-05发表,共计196字。
转载说明:Unless otherwise specified, all articles are published by cc-4.0 protocol. Please indicate the source of reprint.
评论(没有评论)