# 配置环境

# mac 安装 node

# 安装 npm

git clone https://gitee.com/mirrors/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`

https://www.shangmayuan.com/a/f8cac747ffb4419fa95382bf.html

# 为 npm 配置环境变量

vim ~/.zshrc

打开文件:将下面的代码帖到光标处

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

https://www.cnblogs.com/jiduoduo/p/14096774.html

# 安装 node

nvm install node
问题

https://blog.csdn.net/u010741112/article/details/108991629

https://www.cnblogs.com/judeyq/p/12124985.html

https://blog.csdn.net/Fabulous1111/article/details/84983869

# Win 安装 node

NodeJS、NPM 安装配置步骤及环境变量详解

# 安装 hexo

npm install -g hexo-cli
npm install hexo-deployer-git --save

https://blog.csdn.net/f6619082/article/details/109193251

# 运行 hexo

清理,编译,搜索,推送,推送 develop 远程服务器,启动 hexo 五步走

hexo clean && hexo g && hexo a && hexo d && hexo s

# 主题美化

hexo 官网主题

Hexo-Theme-Yun

next 主题问题

shoka 主题问题

参考链接

https://dylan-get.github.io/2021/08/13/blog 搭建 - hexo/

更新于

请我喝[茶]~( ̄▽ ̄)~*

牛奶草莓小饼干 微信支付

微信支付

牛奶草莓小饼干 支付宝

支付宝

牛奶草莓小饼干 贝宝

贝宝