Command not found problem on Mac M1
I use Mac Pro M1 to develop Android and iOS app.
I encounter "Command not found" error when executing command on terminal.
So, I go through this problem.
1. Why "command not found" occur?
This occurs because environmental variable does not exist.
2. How to solve
- Start terminal
- Open zshrc file
ex) vi ~/.zshrc
- Insert environmental path
ex) export PATH = example/program/path
- Apply zshrc file executing underneath code.
ex) source ~/.zshrc
댓글 없음:
댓글 쓰기