Zsh: commande introuvable: Gatsby

On the latest MacOS, I had to update my npm config.

npm config delete prefix
npm config set prefix /usr/local
npm i -g gatsby-cli
gatsby --version
Courageous Capybara