어찌어찌 hexo
를 설치해보았다.
hexo 설치
1 | npm install hexo-cli -g |
blog init
1 | hexo init blog |
여기서 문제가 발생해버린다. 다음 내용을 보여주며 안된다.
1 | command not found: hexo |
hexo
를 찾을수 없다고 나온다..bash_profile
에 환경변수 설정을 해보아도 마찬가지.
.zshrc
.zshrc
파일을 열어보니까, 아래와 같은 내용이 보였다.
1 | # Example aliases |
그래서 아래와 같이 해봤다.
1 | alias hexo="/Users/{{accouts}}/.npm-global/bin/lib/node_modules/hexo-cli/bin/hexo" |
오, 잘된다.