Trick to install hugo via homwbrew on WSL.
Install instructions
# Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/<username>/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# Install hugo
brew install hugo
# Test
hugo --version
# To use hugo on bash
echo 'export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin' >> /home/<username>/.bashrc