I have an issue in flutter installation on MacBook Air M1 chip. It drives me crazy. I get the error : zsh: command not found: vim
screenshot
I enabled rosetta terminal and re-run it again, but same issue. I tried almost all installation videos online but nothing helped.
You don't have vim
. To install it, run the command below :
sudo apt-get install vim
You can also use nano
. Also, it's vim ~/.zshrc
(where ~/ refers to the home directory of the current user) and you also misspelled zshrc
.
I suggest you follow the official docs for the correct installation steps.
I have also created a detailed blogpost about the installation steps and the possible issues that one might encounter. It is written extensively for MacBook Air with M1 chip running BigSur (which I work on).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.