HUGO

How to install a specific version of gohugo

Hi,

I am looking for a way to install a specific version of hugo. I don’t find anything in docs about it.
How to install a specific version of gohugo?

How did you install it before? Just go to the github release to find the specified version to download.

1 Like

I just came across this issue last night!

On linux (and likely mac too):

  • download the release that you are after
  • extract the contents
  • move the hugo executable into one of the paths for your environment

to see what is in your path, open terminal and type echo $PATH