Development record of developer who study hard everyday.

Command not found problem on Mac M1

 Command not found problem on Mac M1

ios develop blog


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


Share:
Location: 미국

댓글 없음:

댓글 쓰기