Skip to main content

Install styra-cli

After creating a new Terraform system, the DAS drops you onto the Install page. You can also find the installation instructions under your system name >> Settings >> Install page. This page gives you the instructions to download the requirements and start enforcing policies in your laptop (or your CICD pipeline).

You don't have to run all the commands on this screen. You only have to perform the following two tasks on your terminal window.

  1. Download the Styra CLI (either for Mac or Linux).

  2. Download the CLI configuration.

The Styra CLI will automatically use the CLI configuration you downloaded as long as it is in the same directory. Thus, once you download those two things, you are ready to go.

tip
  • Ignore the commands that tells you to run the terraform CLI.
  • Styra provides the information produced by these commands in this tutorial.
  • If you want to use the Styra CLI on your own Terraform plans, follow the installation instructions.