How to Fix Zsh Command Not Found Error on macOS?
Zsh: command not found loc
Error on Mac / Linux : Zsh: command not found loc
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 loc
How to Fix Zsh Command Not Found Error on macOS?
Other errors on Mac / Linux :
- Command not found datamash
- Command not found docker-machine-driver-vultr
- Command not found fsevents-tools
- Command not found bartib
- Command not found macos-trash
- Command not found mingw-w64
- Command not found packetq
- Command not found threemux
- Command not found marksman
- Command not found mongoose
- Command not found libchaos
- Command not found baobab
- Command not found bedops
- Command not found pinfo
- Command not found pdftk-java
- Command not found bosh-cli
- Command not found mongosh
- Command not found pcb2gcode
- Command not found jdtls
- Command not found xauth
- Command not found ship
- Command not found bee
- Command not found go@1.16
- Command not found fork-cleaner
- Command not found cash-cli
- Command not found file-formula
- Command not found openmsx
- Command not found sdl2_sound
- Command not found lunar-date
- Command not found go-jira
- Command not found premake
- Command not found gambit-scheme
- Command not found jsawk
- Command not found fdk-aac-encoder
- Command not found khiva
- Command not found msktutil
- Command not found infer
- Command not found dump1090-mutability
- Command not found regex-opt
- Command not found purescript
- Command not found cfengine
- Command not found rdesktop
- Command not found sqlite-analyzer
- Command not found ncnn
- Command not found beancount
- Command not found mlton
- Command not found freeswitch
- Command not found ki18n
- Command not found showkey
- Command not found jql
- Command not found openjdk@8
- Command not found zlog
- Command not found bsdiff
- Command not found unibilium
- Command not found otf2bdf