Last Updated: April 10, 2017

The Globus CLI is maintained as a python package, built on the Globus Python SDK. Like the SDK, it therefore requires Python 2.7+ or 3.3+. If a supported version of Python is not already installed on your system, see this Python installation guide.

For macOS Users

For macOS, you must install pip first:

which pip || sudo easy_install pip

For All Platforms

These instructions assume that you have pip installed.

To install, run the following commands:

which virtualenv || sudo pip install virtualenv
virtualenv "$HOME/.globus-cli-virtualenv"
source "$HOME/.globus-cli-virtualenv/bin/activate"
pip install globus-cli
deactivate
export PATH="$PATH:$HOME/.globus-cli-virtualenv/bin"
echo 'export PATH="$PATH:$HOME/.globus-cli-virtualenv/bin"' >> "$HOME/.bashrc"

This will install the CLI and its dependencies into $HOME/.globus-cli-virtualenv, and add it to your shell.

See that the CLI is installed:

globus --help

Special Note for Windows Users

We don’t currently have detailed instructions for installing the CLI on Windows. Any python environment with pip or easy_install should be able to install the CLI.

You can also use the Linux Subsystem and then follow the above instructions.

Note on Other Shells

If you shell is not Bash, you will have to add export PATH="$PATH:$HOME/.globus-cli-virtualenv/bin" to your shell’s initialization file.

Updating and Removing

Update

To update your version of the CLI to the latest:

$ globus update

Uninstall

To remove the CLI:

rm -r "$HOME/.globus-cli-virtualenv"

You should also edit your $HOME/.bashrc and remove the line that reads export PATH="$PATH:$HOME/.globus-cli-virtualenv/bin".


© 2010- The University of Chicago Legal