title | description | services | documentationcenter | author | manager | editor | tags | keywords | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Install the DC/OS CLI | Microsoft Docs |
Install the DC/OS CLI. |
container-service |
rgardler |
timlt |
acs, azure-container-service |
Containers, Micro-services, DC/OS, Azure |
container-service |
na |
get-started-article |
na |
na |
05/10/2016 |
rogardle |
Note
This is for working with DC/OS-based ACS clusters. There is no need to do this for Swarm-based ACS clusters.
First, connect to your DC/OS-based ACS cluster. Once you have done this, you can install the DC/OS CLI on your client machine with the commands below:
sudo pip install virtualenv
mkdir dcos && cd dcos
wget https://raw.githubusercontent.com/mesosphere/dcos-cli/master/bin/install/install-optout-dcos-cli.sh
chmod +x install-optout-dcos-cli.sh
./install-optout-dcos-cli.sh . http://localhost --add-path yes
If you are using an old version of Python, you may notice some "InsecurePlatformWarnings". You can safely ignore these.
In order to get started without restarting your shell, run:
source ~/.bashrc
This step will not be necessary when you start new shells.
Now you can confirm that the CLI is installed:
dcos --help