A small shell script to automate font installation on macOS.
In its current form, the script fetches the latest version of the JetBrains-Mono font from its GitHub repo, compares it with the locally-installed version and (if the versions don't match) downloads and installs the fonts.
- Download the script
- Open a Terminal and make it executable:
chmod +x install-jetbrainsmono.sh
- Execute it:
./install-jetbrainsmono.sh
- Requires Homebrew to grab the 2 dependencies (
jq
to parse the GitHub API response andotfinfo
to check the local font version info) - Feel free to modify as needed
- Based on this StackExchange post