Can I run two versions of hugo in parallel?

Can I run two versions of hugo in parallel?. Because, currently am using hugo v0.12 for production.

I want test my content with huto 0.13.

Thanks,
NkS

Yes. Hugo is a single binary with no installation, so you can easily do this.

For example, I run a Mac. I had version 0.12 in my bin directory, which was in my path. I had a copy of version 0.13 in my site’s top directory. When I wanted to run version 0.12, I just ran “hugo.” When I wanted to run version 0.13, I ran “./hugo.” That let me run either version as needed.

I have many Hugos in my path, all symbolic links.

  • hugo = whatever version I build
  • hugo-012 = 0.12 binary download
  • hugo-013 = 0.13 binary download

Then it’s just a matter of typing the correct one.

Wow!. Thank you so much @michael_henderson @bjornerik