hexo: command not found 解决方案
有效,码住
- terminal:
which node - find hexo by:
cd .npm-global/bin- or finder >
shift + command + .> Users > .npm-global > bin
pwdin terminal and copy the pathvi ~/.zshrc- input
ito edit - input
export PATH=$PATH:/Users/something/.npm-global/bin escto exit editting mode- input
:wqto quit source ~/.zshrcin terminal- check with
hexo -v