zsh command not found problem solving

This problem occurs, one of the paths is wrong, the path is wrong, modify the path; the path is modified to the portal: [zsh: command not found Solution: configure environment variables]
Another reason may be that there is no relevant installation package for the command:
no installation package , use the brew command to install .

such as installing [wget]

brew install wget

If the brew install gives the following error:

Updating Homebrew...
Error: No available formula with the name "service"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
These similarly named formulae were found:
gst-editing-services                                              kubernetes-service-catalog-client
To install one of them, run (for example):
  brew install gst-editing-services
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

You can try the following methods:

rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core; brew update

Leave a Comment

Your email address will not be published. Required fields are marked *