You can install DCLI by running the pip command which downloads the latest version of the software from the PyPI repository.

You should not run the pip command in conjunction with the sudo command. If you do not have write permissions, you should first try installing DCLI by using the --user option.

Verify that Python 2.7 or later is installed on your system.

Verify that your system has Internet access.

Install DCLI by running the pip command.

If you have root write permissions, run the following command.

pip install dcli

If you do not have root write permissions, run the following command.

pip install --user dcli
Note

This command installs DCLI to the Python user install directory of your platform. The default path is %APPDATA%\Python on Windows and ~/.local/ on other platforms.