问题描述

执行完npm install -g hexo,在git bash 下执行hexo -v 显示命令找不到
解决"bash: hexo: command not found"问题

解决方案

(1)找到hexo安装目录下的.bin,复制此路径

解决"bash: hexo: command not found"问题

(2)配置环境变量

右击此电脑,选择属性,点击高级环境配置
解决"bash: hexo: command not found"问题
点击环境变量,双击系统变量下的path
解决"bash: hexo: command not found"问题
将复制的路径添加进path,依次点击确定

(3)问题解决

解决"bash: hexo: command not found"问题

相关文章:

  • 2021-08-10
  • 2021-04-25
  • 2022-12-23
  • 2021-11-18
  • 2021-06-28
  • 2021-08-20
猜你喜欢
  • 2021-12-30
  • 2021-10-24
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
相关资源
相似解决方案