Installing the PKS CLI

Page last updated:

This topic describes how to install the Enterprise Pivotal Container Service (Enterprise PKS) Command Line Interface (PKS CLI).

To install the PKS CLI, follow the procedures for your operating system to download the PKS CLI from Pivotal Network. Binaries are only provided for 64-bit architectures.

Mac OS X

  1. Navigate to Pivotal Network and log in.
  2. Click Enterprise PKS.
  3. Select your desired release version from the Releases dropdown.
  4. Click PKS CLI.
  5. Click PKS CLI - Mac to download the Mac OS X binary.
  6. Rename the downloaded binary file to pks.
  7. On the command line, run the following command to make the PKS CLI binary executable:
    $ chmod +x pks
  8. Move the binary file into your PATH.
  9. Run pks --version to verify the version of your PKS CLI installed locally.

Linux

  1. Navigate to Pivotal Network and log in.
  2. Click Enterprise PKS.
  3. Select your desired release version from the Releases dropdown.
  4. Click PKS CLI.
  5. Click PKS CLI - Linux to download the Linux binary.
  6. Rename the downloaded binary file to pks.
  7. On the command line, run the following command to make the PKS CLI binary executable:
    $ chmod +x pks
  8. Move the binary file into your PATH.
  9. Run pks --version to verify the version of your PKS CLI installed locally.

Windows

  1. Navigate to Pivotal Network and log in.
  2. Click Enterprise PKS.
  3. Select your desired release version from the Releases dropdown.
  4. Click PKS CLI.
  5. Click PKS CLI - Windows to download the Windows executable file.
  6. Rename the downloaded binary file to pks.exe.
  7. Move the binary file into your PATH.
  8. Run pks --version to verify the version of your PKS CLI installed locally.

Please send any feedback you have to pks-feedback@pivotal.io.