- Before you clone your repository or just copy your source code folder to a new windows computer, you need to install git and Node.js first.
- Clone your hexo repository to your local folder
1
git clone [email protected]:yourname/your_website.git
- Run the following command in your source folder
1
2
3npm install hexo-cli -g
npm install
hexo clean
Now you can use your Hexo to continue your blogging.