Install Compose
Download the current stable release of Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Apply executable permissions to the binary
sudo chmod +x /usr/local/bin/docker-compose
Test the installation
# docker-compose --version docker-compose version 1.29.2, build 5becea4c
Uninstallation
sudo rm /usr/local/bin/docker-compose