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/
The suggestion USES domestic mirror to download, the speed is the fastest! Please install after downloading
Node.js
To use and install the hexo blog, you need to install node.js:
Setup is recommended.To install, check the Add to PATH option.
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
It is recommended to create a new directory for this installation script, preferably where you want to store your blog files.
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