I've tried Hugo to setup a new website: https://modelrailroadsph.balcos.net . My preference to install this in my MacBook Air M2 is via Homebrew. To do this, I install Homebrew first. I did this by executing the following commands in a terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
After completely executing above command(substitute your "username" in the following text):
echo >> /Users/<username>/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<username>/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
I then issue a "brew install hugo" command in the terminal. Compared to Pelican, I find it to be a feature rich "with all the bells and whistles" kind of solution. Personally, I will prefer a more minimalistic one. Nevertheless, I find Hugo pleasant to use in autogenerating websites. A wide variety of Hugo themes also helps.