mac 如何安装nvm
时间: 2023-09-13 10:06:59 浏览: 238
MAC上安装 nvm管理Node版本
要在Mac上安装nvm,您可以按照以下步骤进行操作:
1. 打开终端并执行以下命令以下载并安装nvm:
```shell
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
```
2. 执行完上述命令后,关闭并重新打开终端,或者执行以下命令以使nvm生效:
```shell
export NVM_DIR="$HOME/.nvm"
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [mac 如何安装nvm](https://blog.csdn.net/qq_30607437/article/details/85839452)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [记录mac环境下,最简单的手动安装nvm方式,看完秒会](https://blog.csdn.net/sincejuly1995/article/details/129720336)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文