Prepare the necessary tools
The following are all required
Git tools
All tests of this script are run on git bash, and it is recommended to run git best.Download address:
Git official website download:https://git-scm.com/
Domestic mirror download:https://npm.taobao.org/mirrors/git-for-windows/v2.22.0.windows.1/Git-2.22.0-64-bit.exe
Domestic other version downloads:https://npm.taobao.org/mirrors/git-for-windows/
Node.js
To use and install the hexo blog, you need to install node.js:
Download the installation script for [hexo-script]
All you need to do is open git bash in a directory and execute the following command to download it
Instead, go directly to releases and go with the latest version by downloading install.sh

Here I create a [myblog] folder and right-click git bash under it

Then run the download command, and the install script (install.sh) will be downloaded in your current folder

Last updated
Was this helpful?