Hexo Migration
The following code is only tested on Apple Silicon.
Config Git
1
2
3
4
5git config user.name <your_name>
git config user.email <your@email.address>
git config -l # list git config
ssh-keygen -t rsa -C "your@email.address"
cat ~/.ssh/id_rsa.pubCopy rsa public key to GitHub->Settings->SSH and GPG keys.
Install Nodejs
In China, you may consider install cnpm
1
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
In the following steps, I will use
cnpm
, same fornpm
.