We'll need both deis
(the Deis CLI) and deisctl
(the Deis provision tool). Both clients are
automatically built when we ship new releases of Deis, and be grabbed with our install scripts.
Note: To find out the latest version of Deis, simply go to the releases page
$ curl -sSL http://deis.io/deisctl/install.sh | sh -s <version> # e.g. 1.11.2
$ curl -sSL http://deis.io/deis-cli/install.sh | sh
Both scripts will dump the binaries in the current working directory. We probably want them somewhere else:
$ mv ./deis* /usr/local/bin/
Confirm using:
$ deisctl --version
$ deis --version
Note: the version numbers may not match.
Clone Deis
- Fork deis to your account
- Clone Deis:
git clone git@github.com:<username>/deis.git
cd deis
Note: replace
<username>
with your github username
Make sure we're using the correct version of the code (as used above)
$ git fetch --tags
$ git checkout v<version>