当前位置:网站首页>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 边栏推荐
- Introduction to system programming
- Software digital signature certificate
- 什么是光耦电路,实际使用中应该注意些什么?
- What is an optocoupler circuit and what should be paid attention to in actual use?
- Myrpc version 4
- Read / write lock example
- 输入输出及中断技术——微机第六章学习笔记
- The subsystem implementing transaction persistence in DBMS is ()
- System programming summary
- FortiGate firewall and Aruze cloud tunnel interruption
猜你喜欢
![[UAV] kinematic analysis from single propeller to four rotor UAV](/img/32/1a88b102f832ffbbc1a7e57798260a.jpg)
[UAV] kinematic analysis from single propeller to four rotor UAV

Anonymous pipeline for interprocess communication

OneNote software

Matlab reads fig file and restores signal

Basic knowledge of redis

OneNote production schedule

FortiGate firewall configuration log uploading regularly
![Tea mall system based on SSM framework [project source code + database script + report]](/img/d9/0a46c0da9839a7186bd3a9ae55f0a5.png)
Tea mall system based on SSM framework [project source code + database script + report]

How to renew an SSL certificate

【Paper】2015_ Active fault-tolerant control system design with trajectory re-planning against actuator
随机推荐
為什麼win10開熱點後電腦沒有網絡?
Serializable and Deserialize
Matlab reads fig file and restores signal
What is SQL injection and how to avoid it?
SQL error caused by entity class: Oracle "ora-00904" error: possible case of invalid identifier
Threejs实现模拟河流,水面水流,水管水流,海面
[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)
【Paper】2021_ Uniformity of heterogeneous hybrid multi-level intelligent systems using UGV and UAV
How the FortiGate firewall rejects a port by using the local in policy policy
OneNote production schedule
How to apply for SSL certificate from the manufacturer
破局存量客群营销,试一下客户分群管理(含聚类模型等实操效果评估)
Input / output and interrupt technology -- microcomputer Chapter 6 learning notes
基于servlet+jsp+mysql实现的工资管理系统【源码+数据库】
Redis implements SMS login function (I) traditional session login
MySQL DDL change
Ora-00907: missing right parenthesis problem supplement
Redis cache avalanche, breakdown and penetration
Memorize unfamiliar words at SSM stage and update them from time to time
【Paper】2020_ Research on defense and evaluation strategy of heterogeneous UAV formation_ Zuojiankai