This is a simple guide to installing zim-wiki on MacOS [OSX].
I’m assuming you already have homebrew installed.
First you need to install pygtk
brew install pygtk
Make sure to note down where the
pythonbinary gets installed. It will most likely be in
- Now install GtkOsxApplications (known as gtk-mac-integration for previous macos versions)
brew install gtk-mac-integration
- Download the zim tarball from http://zim-wiki.org/downloads/
- Double click the downloaded file to get a folder with the same name in the same directory.
cdinto the folder (looking something like “zim-0.65”)
Now run the
zim.pyfile with above python binary as follows:
Voila! You’re done.
Going Further: Creating Zim.app
It’s a pain to use the command line to always launch zim, so lets instead create an osx application wrapper for it.
First we need to download a utility called Platypus
brew cask install platypus
Now open it up. And click on “New Script” (Command-N).
Replace the contents of the popup box with the following text:
#!/usr/local/bin/zsh /usr/local/Cellar/python/2.7.12_2/bin/python ../Resources/zim-0.65/zim.py
Then hit “Save”. Change the other options and include the zim folder we untarred previously as a bundle.
The options should look something like this:
That’s about it. You can now “Create App”, and BOOM! Everything is done.