pkgsrc is a framework for building over 20,000 open source software packages. It is the native package manager on SmartOS, NetBSD, and Minix, and is portable across 23 different operating systems. Use one package manager across all of your systems!
Joyent provide binary packages for SmartOS/illumos, macOS, and Linux.
The macOS binary package repository is currently offline, due to an upgrade issue for users.
If you are a new user attempting to install the bootstrap kit, please wait a few days until an updated kit has been produced.
If you are an existing user, please run
pkg_add mksh right
now, to ensure that when the repository is back online, your install is
not broken by your next
pkgin upgrade run.
Apologies to anyone currently affected by this, the issue is a chicken
and egg problem where mksh is now required by package install scripts,
but if it is not already installed on the system (as will be the case
for most users) then package installs will fail. A number of fixes
have been made for this to be handled correctly in the future, but
those fixed packages can't be installed until those fixed packages have
been installed... Running
pkg_add mksh bypasses the usual
pkgin upgrade method and ensures that at least the initial upgrade will
These example screenshots show just a small number of the 18,000+ binary packages available in our 64-bit pkgsrc set. All examples were produced on a clean install of macOS El Capitan (10.11.4) inside VMware Fusion.
Our primary packages for macOS are built on Mojave (10.14.6) and are suitable for users running the latest macOS releases. They are built from pkgsrc trunk and updated every few days.
We also provide archives of our previous package sets built on 64-bit Sierra (10.12.6), Mavericks (10.9.5), and 32-bit Snow Leopard (10.6.8) for users who wish to quickly install software on older releases. These archived sets are no longer updated.
Now that you're ready to go, here are some common commands you may want to run.
pkgin is the front-end to the binary packages, and lets you search for, install, upgrade, and remove packages. It also provides some basic functionality for querying both local and remote packages. If you have used
yum you should find it to be very familiar.
The underlying packaging tools are
pkgin is equivalent to
yum, then these are the equivalent of
rpm. Here are some useful commands to get you started.