生成一个初始化博客

hexo init


然后需要根据配置文件(package.json)来生成node_modules(模块)

npm install


接下来就可以启动这个博客咯

hexo server

启动后会看到localhost:4000



说明已经启动成功!