This article will show you how to install the ShiftLeft CLI, as well as how to associate it with your ShiftLeft account.

Step 1: Download and Install the ShiftLeft CLI

Run the following shell command:

curl >/usr/local/bin/sl && chmod a+rx /usr/local/bin/sl

Step 2: Authenticate with ShiftLeft

Once you have the ShiftLeft CLI installed, you need to associate the CLI with your ShiftLeft account. The ShiftLeft CLI command sl auth is used to authenticate with ShiftLeft and associate your applications with your organization.

sl auth --token "YOUR_ACCESS_TOKEN"

You can get the value for YOUR_ACCESS_TOKEN from the ShiftLeft Dashboard under Add App.