On Ubuntu 18, I installed Hugo as suggested here (from source):
git clone https://github.com/gohugoio/hugo.git
go install --tags extended
I then went to my project folder and run:
hugo server -w
I got this error message:
Command ‘hugo’ not found, but can be installed with:
sudo apt install hugo
How to fix this ?
you built hugo from source. so you have to (for example)
hugo in your PATH.
- Copy the
hugo binary in (for example) /usr/bin.
hugo with the fullpath.
But if you’re not confident with Linux, just go the
Indeed, that was quite obvious when we install something from source, thank you very much
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.