当前位置:网站首页>brew安装nvm报nvm command not found解决方案
brew安装nvm报nvm command not found解决方案
2022-06-30 04:40:00 【hudawei996】
试了很多方法都不行,最后在stackoverflow上找到了解决方案,完美解决了这个问题,这是因为在brew安装nvm时没有创建他的工作目录。
你应该创建nvm的工作目录如果它不存在的话:
mkdir ~/.nvm然后在~/.bash_profile中加入并保存。(如果此文件不存在你应该创建一个)
export NVM_DIR="$HOME/.nvm"终端中执行: . "/usr/local/opt/nvm/nvm.sh" 就将nvm.sh复制到了可执行目录下了
然后在终端执行
source .bash_profile最后可以使用以下命令来检验是否设置路径成功
nvm --version 边栏推荐
- Network high concurrency
- FortiGate configures multiple server IPS as link monitor monitoring objects on the same interface
- 小C的数组(array)
- How the FortiGate firewall rejects a port by using the local in policy policy
- 为什么win10开热点后电脑没有网络?
- Read / write lock example
- Differences between cookies and sessions
- 【Paper】2021_ Uniformity of heterogeneous hybrid multi-level intelligent systems using UGV and UAV
- SSL universal domain name certificate
- Encapsulating JDBC tool classes
猜你喜欢

Imile uses Zadig's multi cloud environment to deploy thousands of times a week to continuously deliver global business across clouds and regions

How to repair expired SSL certificates?

How to renew an SSL certificate

Introduction to system programming

FortiGate firewall quick initialization administrator password
![[FPGA] IIC读写EEPROM 的实现](/img/6a/36e9355058a90d98cffafcbaa1930b.png)
[FPGA] IIC读写EEPROM 的实现

Threejs实现模拟河流,水面水流,水管水流,海面

Matlab reads fig file and restores signal

Five methods to clear floating and their advantages and disadvantages

Learning about signals
随机推荐
Keywords implements and @override
[control] multi agent system summary. 1. system model. 2. control objectives. 3. model transformation.
Myrpc version 3
Redis实现短信登入功能(二)Redis实现登入功能
Qt6 QML Book/Qt Quick 3D/Qt Quick 3D
【WEBRTC】ADM: rtc_ include_ internal_ audio_ Device triggers RTC_ Dcheck (ADM) assertion
[learn FPGA programming from scratch -52]: high level chapter - FPGA development based on IP core - basic framework for IP core use (taking PLL as an example)
Configure specific source IP in SLA detection of FortiGate sdwan
Interview topic of MySQL
圆心科技,很焦虑?
【Paper】2013_ An efficient model predictive control scheme for an unmanned quadrotor helicopter
FortiGate firewall configuration link detection link monitor and status query
Threejs realizes the simulation of river, surface flow, pipe flow and sea surface
Arrays class
小C的数组(array)
破局存量客群营销,试一下客户分群管理(含聚类模型等实操效果评估)
Blocking queue example
Window10 jar double click to run without response
Myrpc version 1
Break through the existing customer group marketing, and try customer grouping management (including clustering model and other practical effect evaluation)