How to Fix Zsh Command Not Found Error on macOS?
Zsh: command not found php@8.1
Error on Mac / Linux : Zsh: command not found php@8.1
It looks like you are trying to run a command that your system cannot find. This can happen for a few reasons:
You might have mistyped the command name. Make sure you are typing the command correctly and that it is spelled correctly.
The command might be located in a different directory than the one you are currently in. In this case, you will need to specify the full path to the command or add the directory where the command is located to your PATH environment variable.
The command you are trying to run might not be installed on your system. In this case, you will need to install the command before you can use it. Try this command:
Brew install php@8.1
How to Fix Zsh Command Not Found Error on macOS?
Other errors on Mac / Linux :
- Command not found tcpkali
- Command not found mmix
- Command not found pony-stable
- Command not found icon
- Command not found lesspipe
- Command not found ffmpeg@4
- Command not found pywhat
- Command not found source-highlight
- Command not found couchpotatoserver
- Command not found claws-mail
- Command not found spin
- Command not found blahtexml
- Command not found portmidi
- Command not found websocketpp
- Command not found glslviewer
- Command not found apache-arrow-glib
- Command not found git-ftp
- Command not found cdrdao
- Command not found openjdk@8
- Command not found php@8.0
- Command not found libunwind
- Command not found serialosc
- Command not found csshx
- Command not found dsocks
- Command not found gnutls
- Command not found languagetool
- Command not found mapcrafter
- Command not found nagios
- Command not found inko
- Command not found fs-uae
- Command not found mcabber
- Command not found mist
- Command not found unisonlang
- Command not found bottom
- Command not found mpage
- Command not found audacious
- Command not found libheif
- Command not found sfcgal
- Command not found catimg
- Command not found jhead
- Command not found jbake
- Command not found allegro
- Command not found mdzk
- Command not found giza
- Command not found atf
- Command not found iredis
- Command not found gradle
- Command not found age-plugin-yubikey
- Command not found popeye
- Command not found imagemagick
- Command not found elixir-ls
- Command not found gnu-complexity
- Command not found cadence-workflow
- Command not found flatcc
- Command not found taskd