:title: Install the Deis Client on your Workstation :description: First steps for developers using Deis to deploy and scale applications. .. _install-client: Install the Client ================== The Deis command-line interface (CLI), or client, allows you to interact with a Deis :ref:`Controller`. You must install the client to use Deis. Install the Deis Client ----------------------- Install the latest ``deis`` client for Linux or Mac OS X with: .. code-block:: console $ curl -sSL http://deis.io/deis-cli/install.sh | sh The installer puts ``deis`` in your current directory, but you should move it somewhere in your $PATH: .. code-block:: console $ ln -fs $PWD/deis /usr/local/bin/deis Proxy Support ------------- If your workstation uses a proxy to reach the network where the cluster lies, set the ``http_proxy`` or ``https_proxy`` environment variable to enable proxy support: .. code-block:: console $ export http_proxy="http://proxyip:port" $ export https_proxy="http://proxyip:port" .. note:: Configuring a proxy is generally not necessary for local Vagrant clusters. Integrated Help --------------- The Deis client comes with comprehensive documentation for every command. Use ``deis help`` to explore the commands available to you: .. code-block:: console $ deis help The Deis command-line client issues API calls to a Deis controller. Usage: deis [...] Auth commands:: register register a new user with a controller login login to a controller logout logout from the current controller Subcommands, use ``deis help [subcommand]`` to learn more:: ... To get help on subcommands, use ``deis help [subcommand]``: .. code-block:: console $ deis help apps Valid commands for apps: apps:create create a new application apps:list list accessible applications apps:info view info about an application apps:open open the application in a browser apps:logs view aggregated application logs apps:run run a command in an ephemeral app container apps:destroy destroy an application Use `deis help [command]` to learn more .. _pip: http://www.pip-installer.org/en/latest/installing.html .. _Python: https://www.python.org/ Multiple Profile Support ------------------------ The Deis client supports running commands against multiple installations and/or accounts by setting the ``$DEIS_PROFILE`` environment variable before logging in and running any subsequent commands. If not set, all commands will default to the ``client`` profile which maps to a configuration file at ``$HOME/.deis/client.json``. Here's an example of running the ps command against an app with the same name from two profiles: .. code-block:: console $ DEIS_PROFILE=production deis ps -a helloworld $ DEIS_PROFILE=staging deis ps -a helloworld