zsh: command not found: modernizr
问题 I installed modernizr: npm install -g modernizr Everything went well without errors: /Users/myusername/npm/bin/modernizr -> /Users/myusername/npm/lib/node_modules/modernizr/bin/modernizr /Users/myusername/npm/lib After install running: modernizr I get: zsh: command not found: modernizr In my .zshrc file I have: export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" After googling around find this post: Bower: "command not found" after installation and added this line to my .zshrc file: