Hugo not found

Where did you install it? To which location? Please provide all the steps you took in detail if possible.

  1. Which location did you put the hugo binary in?
  2. If it’s anywhere outside standard system binary directories, it will not be in the $PATH
  3. You can always add it to a folder in your home directory, and add that folder/directory to your $PATH variable, so hugo is found.

I usually recommend ~/.bin or ~/bin in your home directory.

If you unpack the tarball to ~/.bin/ or ~/bin, so it looks like ~/.bin/hugo or ~/bin/hugo and then add the PATH=$PATH:~/.bin/ hugo will always be found.

Make sure you put it in the correct directory. By correct I mean, the same one tht’s in your path variable (could even be the system PATH, hence /usr/bin or /usr/local/bin/)