To prepare for this lesson you will need the following tools installed:
- A GitHub Account
- You can sign up for free
- A terminal
- Linux
- Mac
- Windows: Linux Bash (preferred), Command Prompt
- If using the command prompt, some of the commands I use below will be different and you may wish to consult this cheatsheet
git
version control- Installation guide for all three Operating Systems
- Follow this guide for one-time
git
setup the first time you use it
hugo
- Installation guide for all three Operating Systems
- If you are installing on Linux, see the below section on installing the most recent version.
- A text editor of your choice! Examples:
- VSCode
- nano
- gedit
- Notepad++
- emacs
- vim
Installing the most recent version of Hugo on Linux
When running sudo apt-get install hugo
this does not always install the most recent version of hugo.
If you find this is the case, you can try the following steps.
- Go to https://github.com/gohugoio/hugo/releases and find the latest release
- Download the
.deb
file for Linux according to your architecture. This is most likely the file that ends_Linux-64bit.deb
. -
Once downloaded, run the following commands to install this version.
sudo dpkg -i
-
Check the version has installed
hugo version
-
Clean up the
.deb
filerm