Add ~/bin to your path

~$ cd ~/bin
~$ PATH=$PATH:$HOME/bin 

on a fish shell
~$ fish
~> set PATH $PATH $HOME/bin

Go to rancher github and download the release for your OS

~$ wget https://github.com/rancher/rancher-compose/releases/download/v0.7.2-rc1/rancher-compose-linux-amd64-<version>.tar.gz
~$ tar zxvf rancher-compose-linux-amd64-<version>.tar.gz
~$ mv rancher-compose-linux-amd64-<version>/rancher-compose ~/bin

Follow rancher-compose docs and check it out.

~> rancher-compose -v

    _rancher-compose version v0.7.2-rc1_