docs/content/stable/contribute/docs/macos.md
Command-line tools for Xcode on macOS.
$ xcode-select --install
Xcode is many gigabytes. Install the command-line tools unless you actually need the full Xcode.
Homebrew on macOS.
Python (v3.10 or earlier): You need python to be available somewhere in your shell path.
Recent versions of macOS have only a python3 executable, as does the Homebrew install. You can use pyenv to manage multiple versions of python on your system. Make sure to point to Python v3.10 or earlier.
Hugo: Install Hugo v0.154.5. Follow these steps:
brew unpin hugobrew uninstall hugobrew install hugo.rb
brew tap-new mytap/local-hugomv hugo.rb $(brew --repository mytap/local-hugo)/Formula/brew install mytap/local-hugo/hugobrew pin hugoGo: brew install go installs the latest version.
Git client: The system Git binary is out of date, but works. If you like, you can use Homebrew to get a newer version (brew install git).