当前位置:网站首页>zsh: command not found: nvm
zsh: command not found: nvm
2022-07-26 08:54:00 【Arrogance.miner】
zsh: command not found:nvm terms of settlement
Before using mac pro When Yes, it has been installed nvm
The specific operation process is nvm To configure
It's perfectly possible under normal circumstances
But I used the company's computer today yes macBook Air
I found that after I finished configuring nvm --version It's all right
But when I newly opened iTerm Or use in the project nvm Always report zsh: command not found
even to the extent that npm I can't use the command of
I searched the Internet Many have no effect Of course, it was finally solved
As follows
- stay ~/.bash_profile add to
sudo vim ~/.bash_profile
add to
source ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
After saving and exiting
source ~/.bash_profile
If an error is reported, the file cannot be found Just touch ~/.bash_profile Then re execute the above code
stay zsh China still reports zsh: command not found error
find ~/.zshrc
If you can't find it Use
touch ~/.zshrc
Create a new file
find # User configuration
Add... On the next line
source ~/.bash_profile
Then save to exit
source ~/.zshrc
At this time in iTerm The end use of nvm That's all right.
stay vscode Open a new terminal to use nvm It's OK
If not
stay .zshrc Try adding these at the bottom :
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
边栏推荐
- [recommended collection] summary of MySQL 30000 word essence - partitions, tables, databases and master-slave replication (V)
- Oracle 19C OCP 1z0-082 certification examination question bank (24-29)
- 【FreeSwitch开发实践】自定义模块创建与使用
- Uni app simple mall production
- What are the differences in the performance of different usages such as count (*), count (primary key ID), count (field) and count (1)? That's more efficient
- [freeswitch development practice] use SIP client Yate to connect freeswitch for VoIP calls
- at、crontab
- MySQL 8.0 OCP (1z0-908) has a Chinese exam
- Memory management based on C language - Simulation of dynamic partition allocation
- ES6 modular import and export) (realize page nesting)
猜你喜欢

数据库操作技能7

What are the contents of Oracle OCP and MySQL OCP certification exams?

Pan micro e-cology8 foreground SQL injection POC
![[untitled]](/img/89/c3ab79eb325f0136114a568745924b.png)
[untitled]

Registration of finite element learning knowledge points

数据库操作 技能6
![[abstract base class inheritance, DOM, event - learning summary]](/img/0e/4c4ed97814d49d72a5994ce2a53c88.png)
[abstract base class inheritance, DOM, event - learning summary]

Web概述和B/S架构

Sklearn machine learning foundation (linear regression, under fitting, over fitting, ridge regression, model loading and saving)

pl/sql之集合-2
随机推荐
Cve-2021-21975 VMware SSRF vulnerability recurrence
Learn more about the difference between B-tree and b+tree
03 exception handling, state keeping, request hook -- 04 large project structure and blueprint
Vision Group Training Day5 - machine learning, image recognition project
After MySQL 8 OCP (1z0-908), hand in your homework
数据库操作技能7
6、 Pinda general permission system__ pd-tools-log
What are the differences in the performance of different usages such as count (*), count (primary key ID), count (field) and count (1)? That's more efficient
[encryption weekly] has the encryption market recovered? The cold winter still hasn't thawed out. Take stock of the major events that occurred in the encryption market last week
The lessons of 2000. Web3 = the third industrial revolution?
In the first year of L2, the upgrade of arbitrum nitro brought a more compatible and efficient development experience
Install HR schema, example, and Scott schema on Oracle and MySQL
Database operation skills 6
Oracle 19C OCP 1z0-082 certification examination question bank 1
Pan micro e-cology8 foreground SQL injection POC
Poor English, Oracle OCP or MySQL OCP exam can also get a high score of 80 points
Database operation skills 7
The idea shortcut key ALT realizes the whole column operation
有限元学习知识点备案
[abstract base class inheritance, DOM, event - learning summary]