博客迁移到mac Posted on 2024-05-21 Edited on 2025-09-13 In Blog , Hexo 将博客项目中除node_modules外的所有文件拷贝到新电脑; 安装hexo工具npm install hexo-cli -g; 进入项目路径并执行npm install; hexo clean后即可; hexo g时若出现pandoc exit null,执行brew install pandoc安装pandoc;