For those not familiar or comfortable in a UNIX terminal interface, it may be best to stay away from using Terminal as there are some risks for the unwary.
Any homebrew installation is dependent on the presence of Apple's current command line developer tools. If not installed, homebrew will do so before continuing with its installation. Any package retrieved by homebrew will be compiled using that Apple developer tools and libraries as part of the package installation process. On Apple Silicon Macs, this will produce arm64 binaries.
You won't find mutool in homebrew or homebrew cask repositories. It is part of the mμPDF tools that is a separate homebrew package (e.g. muPDF) and has at least nine installation dependences (which will grow over time as additional dependencies may be added to the existing dependencies):
brew deps --tree --installed muPDF
brew info muPDF
brew install muPDF
brew cleanup --prune=all
# brew uninstall muPDF
The actual mutool binary is installed in either /opt/homebrew/bin (Apple Silicon) or /usr/local/bin (Intel macs). This means one must know how to adjust their Shell PATH variable to allow the Shell to find the mutool binary.
The following command will generate a posterized PDF (e.g. poster.pdf with you choosing the output name) with three trailing blank pages when performed on macOS Sonoma 14.4 and opened in either of Apple's Preview, or Adobe Acrobat Reader.
$(which mutool) poster -x 3 -y 4 original.pdf poster.pdf
A manual page for mutool can be found here.
The mutool binary is also an optional install from the customize panel during the MacTeX 2024 installation.