-
-
Save max/c592f4d9d46a7063445f9b53fc7ed90b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -e | |
echo "Fetching fonts from Apple..." | |
curl -o /tmp/SF-Font.dmg https://developer.apple.com/design/downloads/SF-Font.dmg | |
hdiutil attach -nobrowse -quiet -noverify -noautoopen -mountpoint /Volumes/SF-Font /tmp/SF-Font.dmg | |
echo "Installing fonts..." | |
cp -R /Volumes/SF-Font/. /Library/Fonts/ | |
cp -R /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/. /Library/Fonts/ | |
echo "Cleaning up..." | |
hdiutil detach /Volumes/SF-Font/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install (at your own risk)
bash <(curl -s https://gist.githubusercontent.com/max/c592f4d9d46a7063445f9b53fc7ed90b/raw/af8edfdc3060fc78e6525513f2a6aec14078b8a2/i.sh)