docker-compose-install-latest 313 Bytes
Newer Older
1
2
#!/bin/bash

Jay Ta'ala's avatar
Jay Ta'ala committed
3
4
5
VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
wget https://github.com/docker/compose/releases/download/$VERSION/docker-compose-Linux-x86_64 -O docker-compose
mv docker-compose $HOME/.local/bin
6
chmod +x $HOME/.local/bin/docker-compose