Building Munki

Samuel Keeley edited this page Jan 25, 2016 · 5 revisions

Notes on building Munki packages


Note: These docs are for building the Munki (1) tools. For Munki 2, see Building Munki2 Pkgs.

Munki releases are made available via Apple packages here:

These packages are built and released only for major development milestones. If you want to be on the cutting edge, or want to test a new feature before the official release, you may need to build your Munki tools from source.



A Leopard or Snow Leopard machine. See the next requirement.

Xcode 3
Currently, to successfully build the Munki tools from source, you must be using Xcode 3.x on Leopard or Snow Leopard. Building on Lion is not currently supported because there is no way to build "universal" applications that run on PowerPC and Intel under Xcode 4. If you don't care about PowerPC compatibility, it is possible to use Xcode 4 on Lion, but this document does not describe that yet.

While not absolutely, strictly necessary to build the Munki tools, in order to follow this document you must also install Git. Git is a distributed revision control system. It is not installed by default on Leopard or Snow Leopard. You can find installation packages here:

Building Munki

So now a bit of the chicken-and-the-egg problem. You need the Munki build script available here:

You can quickly download and execute it like so:

curl | bash

This uses curl to download the latest script, and pipes it to the bash shell, which executes it.

When it's done, in the current directory, you'll have a Git clone of the current Munki code (munki-git) and a metapackage of the tools.

That's still too much work!

Timothy Sutton has set up an autobuild server for Munki, available here:

This machine automatically builds and makes available the the most recent Git commits. If you want to test a Git revision and don't want to/can't build it yourself, you can take advantage of these automatic builds.


Munki 3

Managed Software Center

Command-line Tools

Munki configuration




Advanced Munki

Related tasks


Product-specific notes

Legacy Documentation

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.