Installation

Steps to install PCT on Windows, macOS and Linux.

While the PCT is in early release, we provide an archive and a simple script to unpack it. When we move closer to a full release we will add a platform specific installer. Use the install.[ps1|sh] script, depending upon your OS:

Bash

curl -L https://pup.pt/pct/install.sh | sh

PowerShell

iex "&{ $(irm 'https://pup.pt/pct/install.ps1'); Install-Pct }"

This will install the latest release of PCT to ~/.puppetlabs/pct.

install_pct

Warning!

If you do not use the install script and are extracting the archive yourself, be sure to use the fully qualified path to ~/.puppetlabs/pct on *nix or $HOME/.puppetlabs/pct on Windows when you set your PATH environment variable.

A version of the product, with telemetry functionality disabled, is available too. See here for instructions on how to install it.

Setting up Tab Completion

After installation, we’d highly recommend setting up tab completion for your shell to ensure the best possible experience.

PCT has built in tab completion support for the following shells: bash, zsh, fish and powershell.

To view the install instructions, access the --help menu in pct completion and follow the instructions for your shell:

tab_completion

Installing Telemetry Free Version

As of 0.5.0, we have been gathering telemetry data to provide insights in to how our products are being used.

The following data is collected:

  • Version of application in use
  • OS / platform of the device
  • What commands have been invoked (including command args)
  • Any errors that occurred when running the application

We understand that there will be some users who prefer to have no telemetry data sent. For those users, we offer a version of PCT with the telemetry functionality disabled.

To install:

Bash

curl -L https://pup.pt/pct/install.sh | sh -s -- --no-telemetry

PowerShell

iex "&{ $(irm 'https://pup.pt/pct/install.ps1'); Install-Pct -NoTelemetry }"

This will install the latest release of PCT, without telemetry functionality, to ~/.puppetlabs/pct.