Step 1: 更新
1 | $ sudo apt update |
Step 2: 創建apt sources list
1 | $ curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - |
Step 3: 安裝
1 | $ sudo apt -y install nodejs |
Step 4: 檢查版本
1 | $ node -v |
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment