578 B
578 B
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Update your PATH (choose the appropriate one based on your shell)
For zsh
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc source ~/.zshrc
For bash
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.bash_profile source ~/.bash_profile
Install ImageMagick
brew install imagemagick
Verify the installation
magick --version
Update Homebrew
brew update
Upgrade installed packages
brew upgrade
Cleanup old versions
brew cleanup