installing it for GNU Linux Debian users is as easy as: (no need for snap or brew)

lsb_release -d; # tested on
Description:	Debian GNU/Linux 11 (bullseye)
su - root
apt update
apt install hugo
Total in 2 ms
Error: add site dependencies: create deps: failed to create file caches from configuration: mkdir /tmp/hugo_cache/modules: permission denied

# it is, because the /tmp/hugo_cache is created with root as owner
mkdir /tmp/hugo_cache; chown -R user: /tmp/hugo_cache/

# expected output
hugo
Start building sites … 

                   | EN  
-------------------+-----
  Pages            |  6  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  2  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 22 ms
admin