Installing Fig

First, install Docker version 1.3 or greater.

If you're on OS X, you can use the OS X installer to install both Docker and boot2docker. Once boot2docker is running, set the environment variables that'll configure Docker and Fig to talk to it:

$(boot2docker shellinit)

To persist the environment variables across shell sessions, you can add that line to your ~/.bashrc file.

There are also guides for Ubuntu and other platforms in Docker’s documentation.

Next, install Fig:

curl -L`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig

Releases are available for OS X and 64-bit Linux. Fig is also available as a Python package if you're on another platform (or if you prefer that sort of thing):

$ sudo pip install -U fig

That should be all you need! Run fig --version to see if it worked.