依赖

1
2
3
git --version
node --version
macOS 11.1

一键启动

1
npm config set registry http://registry.npm.taobao.org && npm install hexo && npx hexo init blog && cd blog && npm un hexo-theme-landscape && npm i hexo-theme-next && sed 's/landscape/next/g' _config.yml > _config.yml.tmp && mv _config.yml.tmp _config.yml && curl -o _config.next.yml https://cdn.jsdelivr.net/gh/next-theme/hexo-theme-next/_config.yml && npx hexo clean && npx hexo server

预览

http://localhost:4000

参考

https://github.com/next-theme/hexo-theme-next/blob/master/_config.yml