3 ms·
I'm wondering why Hugo wants you to install homebrew. It's a Go program. Shouldn't downloading a binary be all you need? Or maybe building it from source? The G
by skybrian 5y ago
I'm wondering why Hugo wants you to install homebrew. It's a Go program. Shouldn't downloading a binary be all you need? Or maybe building it from source? The Go SDK doesn't require Homebrew.
- _fat_santa 5y agoLooks like the guide is using it to install the Hugo binary and Git. So if you already have git and a Go dev env, you shouldn't need to do that.
- reidrac 5y agoIt is weird, because here: https://gohugo.io/getting-started/installing https://gohugo.io/getting-started/installing ...they refer you to the GH's releases page, where you can find binaries ready to use (I don't use Mac, but I see 64 bit and ARM64). You don't need a Go dev env to use Hugo. I use it in Linux and I don't have a Go compiler installed.
- skyfaller 5y agoYou don't need Go, but it enables certain features like Hugo modules, which I find easier to use e.g. for themes than e.g. git submodules: https://gohugo.io/hugo-modules/ https://gohugo.io/hugo-modules/ Basically it uses the Go dependency manager to help you assemble your website. Here's my documentation on Hugo modules for my work-in-progress Hugo theme: https://git.sr.ht/~skyfaller/maxethics-hugo#hugo-modules https://git.sr.ht/~skyfaller/maxethics-hugo#hugo-modules