📅  最后修改于: 2022-03-11 14:49:42.350000             🧑  作者: Mango
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