# Installing Docker Compose
## Using Docker Compose V2
For more see [Installing Compose on Linux](https://docs.docker.com/compose/install/linux).
### Installing The Plugin Automatically
This is the proffered way as updates are handled by `apt`.
```shell
sudo apt install docker-compose-plugin
```
### Installing The Plugin Manually
Following this method means you have to take care of updates manually too.
1. Go to https://github.com/docker/compose/releases and get a link to the latest release of the plugin. Run `uname -m` to determine your system architecture.
2. `DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}`
3. `mkdir -p $DOCKER_CONFIG/cli-plugins`
4. `curl -SL <link from step 1> -o $DOCKER_CONFIG/cli-plugins/docker-compose`
## Using Legacy `docker-compose`
1. `sudo apt install python3-pip`
2. `sudo pip3 install docker-compose`