2015-01-19 06:46:23 +01:00
page_title: Installing Compose
2015-03-26 02:43:23 +01:00
page_description: How to install Docker Compose
2015-01-31 02:16:48 +01:00
page_keywords: compose, orchestration, install, installation, docker, documentation
2014-01-27 16:03:21 +01:00
2015-01-31 02:16:48 +01:00
## Installing Compose
2014-01-27 16:03:21 +01:00
2015-01-31 02:16:48 +01:00
To install Compose, you'll need to install Docker first. You'll then install
Compose with a `curl` command.
### Install Docker
2015-03-20 00:10:27 +01:00
First, install Docker version 1.6 or greater:
2015-01-31 02:16:48 +01:00
2015-02-24 12:43:14 +01:00
- [Instructions for Mac OS X ](http://docs.docker.com/installation/mac/ )
- [Instructions for Ubuntu ](http://docs.docker.com/installation/ubuntulinux/ )
- [Instructions for other systems ](http://docs.docker.com/installation/ )
2015-01-31 02:16:48 +01:00
### Install Compose
2014-01-27 16:03:21 +01:00
2015-01-31 02:16:48 +01:00
To install Compose, run the following commands:
2014-01-27 16:03:21 +01:00
2015-03-23 18:40:23 +01:00
curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
2015-01-31 02:16:48 +01:00
chmod +x /usr/local/bin/docker-compose
2014-03-03 16:20:09 +01:00
2015-03-27 01:17:36 +01:00
> Note: If you get a "Permission denied" error, your `/usr/local/bin` directory probably isn't writable and you'll need to install Compose as the superuser. Run `sudo -i`, then the two commands above, then `exit`.
2015-02-23 04:56:13 +01:00
Optionally, you can also install [command completion ](completion.md ) for the
2015-01-31 02:16:48 +01:00
bash shell.
2014-12-25 11:16:45 +01:00
2015-01-31 02:16:48 +01:00
Compose is available for OS X and 64-bit Linux. If you're on another platform,
Compose can also be installed as a Python package:
2014-03-03 16:20:09 +01:00
2015-01-20 18:29:28 +01:00
$ sudo pip install -U docker-compose
2014-01-27 16:03:21 +01:00
2015-03-26 02:43:23 +01:00
No further steps are required; Compose should now be successfully installed.
2015-01-31 02:16:48 +01:00
You can test the installation by running `docker-compose --version` .
2015-02-25 09:43:33 +01:00
## Compose documentation
- [User guide ](index.md )
2015-05-12 13:44:43 +02:00
- [Get started with Django ](django.md )
- [Get started with Rails ](rails.md )
- [Get started with Wordpress ](wordpress.md )
2015-02-25 09:43:33 +01:00
- [Command line reference ](cli.md )
- [Yaml file reference ](yml.md )
- [Compose environment variables ](env.md )
- [Compose command line completion ](completion.md )