Shipped 5 - CLI

The Shipped CLI provides command line access to Shipped services, including most API and UI functions. In addition, Shipped provides commands for controlling your local environment, such as bootstrap, build, and test.

You must have a GitHub account to sign in to Shipped.

Sign up with GitHub

  1. Log in to Shipped UI.

  2. Click Sign up with GitHub.

  3. Click Authorize application to allow Shipped to read your public data. You only need to do this the first time you use Shipped.

  4. Click your user name and select My Profile from the drop-down list.

  5. Click Show My User Token.

  6. Copy this token.

Install Shipped CLI

Shipped CLI supports the following OS:

Shipped installation requires root or Administrator privileges.

Linux

Copy the following command, paste it into a terminal window, and run it.

curl https://api.ciscoshipped.io/cli/static/shipped-setup.sh | bash -s

MacOS

Copy the following command, paste it into a terminal window, and run it.

curl https://api.ciscoshipped.io/cli/static/shipped-setup.sh | bash -s

Windows

Copy the following command, paste it into a terminal window, and run it.

    powershell -command "& {(New-Object Net.WebClient).DownloadFile('https://api.ciscoshipped.io//cli/static/shipped-setup.bat', 'shipped-setup.bat')}; cmd /c '.\shipped-setup.bat'"

It takes several minutes to complete the installation.

Press Enter to exit the installation.

Verify

Open a command window, and type the following command to verify that the installation is successful.

 shipped -v

The Shipped version is displayed.

Cisco Shipped 1.0 b0 20160609 014325