I'm trying to follow a course on Udemy (laravel). I just downloaded XAMPP (I'm on macOS Monterey) and I edited the ~/.zshrc file and added export PATH=/Applications/XAMPP/bin
After that I installed composer which worked successfully, but now when I try to run this command: mv composer.phar /usr/local/bin/composer
the shell responds with: zsh: command not found: mv
.
Does anyone know how to fix this?
The file mv
was not found in your PATH, is your PATH variable setup correctly?
Enter echo $PATH
to see your PATH variable.
Try /bin/mv
to see if the binary file exists.