zsh: command not found: gulp

明明安装了gulp却无法使用命令,网上搜索得到答案 先是尝试: 输入 which gulp 输出 gulp not found 分析原因:说明gulp的确没有全局安装。 全局安装gulp的正确姿势 npm install -g gulp 如果报错 zsh: command not found: npm 先安装npm (执行命令: brew install npm(需要安装homebrew)) 在执
相关文章
相关标签/搜索