0%

How to move your hexo source code to new laptop

  1. 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.
  2. Clone your hexo repository to your local folder
    1
    git clone [email protected]:yourname/your_website.git
  3. Run the following command in your source folder
    1
    2
    3
    npm install hexo-cli -g
    npm install
    hexo clean

Now you can use your Hexo to continue your blogging.