Deploying Glyphs in a Mac lab? Read this.
Download the Latest Stable Version
There is a download link that always points to the latest stable version of Glyphs. You can
curl it right into the App folder:
curl https://updates.glyphsapp.com/latest2.php > ~/Desktop/Glyphs.app.zip unzip -o /Desktop/Glyphs.app.zip -d /Applications rm ~/Desktop/Glyphs.app.zip
And who would have guessed, there is also a link that points to the latest stable version of Glyphs Mini. Well, there you go:
curl https://updates.glyphsapp.com/latestMini2.php > ~/Desktop/Glyphs\ Mini.app.zip unzip -o /Desktop/Glyphs\ Mini.app.zip -d /Applications rm ~/Desktop/Glyphs\ Mini.app.zip
Unlocking the App for All Users
When you open the
.glyphs2License file on a Mac, Glyphs will be registered in the current user. But what if every (future) user is supposed to access a registered Glyphs? Here’s the trick. If you
sudo the install process, the registration will be stored in the Mac-wide Library rather than in the user’s Library. So what you do, is place your
.glyphs2License file on your Desktop, and run this command in Terminal:
sudo /Applications/Glyphs.app/Contents/MacOS/Glyphs -disableUI 1 "~/Desktop/file.glyphs2License"
Or, in the case of Glyphs Mini:
sudo /Applications/Glyphs\ Mini.app/Contents/MacOS/Glyphs\ Mini -disableUI 1 "~/Desktop/file.glyphsMini2License"
Needless to say, replace
file.glyphs2License with the name of your license file (the one you probably received via e-mail). This assumes that you have put your copy of Glyphs in the
/Applications folder and that you did not rename the app after download. And you probably guessed that the
disableUI 1 option runs Glyphs in a headless mode, without starting the user interface.
Pro Tip: You can copy the respective line until (and including)
-disableUI 1and paste it into Terminal, add a space, then drag the license file into the terminal window (this conveniently inserts the path to the license file), and press the Return key.
Oh, and if you are deploying in a school lab, please do not leave any license files on the machine. Be so kind:
Scripts and Plug-ins for All Users
Note: Scripts and Plug-ins are only relevant for Glyphs, not Glyphs Mini. If you are deploying Glyphs Mini, you can move on to the next chapter.
Actually, you can do the same for scripts and plug-ins. Just move scripts folder and your plug-ins folder into the system-wide Application Support folder of Glyphs. Just run these lines in Terminal to create the necessary folders:
sudo mkdir "/Library/Application Support/Glyphs/" sudo mkdir "/Library/Application Support/Glyphs/Scripts/" sudo mkdir "/Library/Application Support/Glyphs/Plugins/"
Now, you can easily clone your favourite GitHub script repositories, and make them available for all users on your Mac. Copy and paste these lines (yes, all at once!) into Terminal:
sudo git clone https://github.com/Mark2Mark/Glyphsapp-Scripts.git "/Library/Application Support/Glyphs/Scripts/Mark2Mark/" sudo git clone https://github.com/huertatipografica/huertatipografica-scripts.git "/Library/Application Support/Glyphs/Scripts/huertatipografica/" sudo git clone https://github.com/mekkablue/Glyphs-Scripts.git "/Library/Application Support/Glyphs/Scripts/mekkablue/" sudo git clone https://github.com/schriftgestalt/Glyphs-Scripts.git "/Library/Application Support/Glyphs/Scripts/schriftgestalt/" sudo git clone https://github.com/Tosche/Glyphs-Scripts.git "/Library/Application Support/Glyphs/Scripts/Tosche/" sudo git clone https://github.com/weiweihuanghuang/wei-glyphs-scripts.git "/Library/Application Support/Glyphs/Scripts/weiweihuanghuang/" sudo git clone https://github.com/justanotherfoundry/freemix-glyphsapp.git "/Library/Application Support/Glyphs/Scripts/freemix/" sudo git clone https://github.com/m4rc1e/mf-glyphs-scripts.git "/Library/Application Support/Glyphs/Scripts/MarcFoley/" sudo git clone https://github.com/simoncozens/GlyphsScripts.git "/Library/Application Support/Glyphs/Scripts/SimonCozens/"
If you install these scripts, it is a good idea to also install a library called vanilla. It is a popular wrapper for accessing Cocoa user interface classes in Python scripts, and some of the scripts from above make use of it:
sudo git clone https://github.com/typesupply/vanilla.git "/Library/Application Support/Glyphs/Modules/vanilla/" cd "/Library/Application Support/Glyphs/Modules/vanilla/" sudo python2.7 setup.py install
Write Access for the Adobe Fonts Folder
While you're at it, you should change the read and write permissions for the Adobe Fonts folder. Just copy and paste this line into your Terminal:
sudo chmod o+rw /Library/Application\ Support/Adobe/Fonts/
Then all users can test their fonts in Adobe apps, cool!
Update 2017-10-28: Updated vanilla install instructions, fixed a few typos. Updated Terminal formatting.
Update 2016-09-25: Fixed link for Mark2Mark repo, added JAF, SimonCozens and Marc Foley repos.