Install
This article will show you how to install the Qwiet CLI and how to associate it with your Qwiet account.
Step 1: Download and install the Qwiet CLI
- Linux/macOS
- Windows
Run the following shell command:
curl https://cdn.shiftleft.io/download/sl >/usr/local/bin/sl && chmod a+rx /usr/local/bin/sl
Run the following Powershell command to begin your download:
Invoke-WebRequest -Uri 'https://cdn.shiftleft.io/download/sl-latest-windows-x64.zip' -OutFile sl-latest-windows-x64.zip
Extract the contents of the archive:
Expand-Archive -Path sl-latest-windows-x64.zip -DestinationPath .
Add the Qwiet CLI to your system PATH
.
Step 2: Authenticate with Qwiet
Once you have the Qwiet CLI installed, you need to associate the CLI with your Qwiet account.
First, you'll need your access token, which you can obtain in the Dashboard.
Once you have your access token, create an environment variable called SHIFTLEFT_ACCESS_TOKEN
and set its value to your access token.
Using sl auth
to authenticate
While setting an environment variable called SHIFTLEFT_ACCESS_TOKEN
and using that to authenticate is the preferred method, you can also run sl auth
to link the CLI with your Qwiet account.
- Linux/macOS
- Windows
sl auth --token "YOUR_ACCESS_TOKEN"
sl.exe auth --token "YOUR_ACCESS_TOKEN"