Using the QCS CLI
The QCS CLI is a tool for interacting with QCS from the command line.
If you're using QCS via your provisioned JupyterLab IDE,
qcsis already installed for you. Otherwise, follow the steps below to install it locally.
Run the following in a terminal to download and install the CLI:
curl -s "https://qcs-cli.s3-us-west-2.amazonaws.com/latest/osx/install" | bash
curl -s "https://qcs-cli.s3-us-west-2.amazonaws.com/latest/linux/install" | bash
To run many commands, the CLI will need to know your QCS credentials. To add them to the CLI, run the following:
qcs secrets add-credentials default --auth-server-name default
Once that completes, check that the following command executes successfully (requires a QCS account and access to a web browser):
qcs api auth-get-user
You can check the latest available version with the
qcs version latest
To update to the latest available version, use the
qcs version update