码迷,mamicode.com
首页 > 其他好文 > 详细

-bash: hexo: command not found

时间:2015-01-19 10:57:06      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:

http://androidren.com/index.php?qa=263&qa_1=bash-hexo-command-not-found

运行hexo命令时,发现如题这个错误。hexo是在之前安装好的。

后来发现原来是没有指定nodejs所致。所以,使用下面的方法解决:

可以使用下面命令解决:

nvm ls

v0.10.35

nvm use 0.10.35

Now using node v0.10.35

nvm alias default 0.10.35

default -> 0.10.35 (-> v0.10.35)



-bash: hexo: command not found

标签:

原文地址:http://blog.csdn.net/forlong401/article/details/42869625

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!