This tutorial shows you how to install, set up, and configure Inspect.

Register for a ShiftLeft Account

If you haven't already, register for a ShiftLeft account.

You will be prompted to create an organization. Provide a name for your organization and click Create Organization to proceed.

Your Org ID and Access Token

As a new ShiftLeft user, you will be presented with a list of steps that you need to complete to install and set up ShiftLeft in the Dashboard.

Dashboard Instructions Page

You can always return to this page at a later date by clicking Add App in the Dashboard.

ShiftLeft Installers for Windows

ShiftLeft provides the following installers for Windows users:


Products Installed

.NET Core

Inspect only

.NET Framework

Inspect and Protect

You must use an account with administrator privileges to use the Windows installers.

How to Install ShiftLeft

You can install ShiftLeft by downloading the installer via PowerShell or by going to the appropriate link.

Obtain the Installer via Powershell

To get the .NET Core installer:

Invoke-WebRequest -URI -UseBasicParsing -OutFile

To get the .NET Framework installer:

Invoke-WebRequest -URI -UseBasicParsing -OutFile

Installation Options

If you choose to run the installer from the command line, note that the installer binaries have the following command-line options available to modify the default behavior.




Disables prompts for non-interactive usage if you are running the installer from the command line


Specifies the installation directory; the default is ShiftLeft in the Windows Programs folder


Sets the directory for the location of created Start menu items. Defaults to ShiftLeft at the top level of the Start menu. If empty, no Start menu items are created


Identifies the home directory for ShiftLeft products. This directory is created as part of the installation process, and stores any downloaded binaries and configuration files. Defaults to .shiftleft in your Home directory


Installs just ShiftLeft Inspect (i.e. sl.exe) and not ShiftLeft Protect

All directories are stored in the Windows Registry.

Working with the ShiftLeft Installer

Once you've obtained the installer, unzip the downloaded file.

Unzip Prompt

Note: For Protect, the installer bundles all of the dependencies into a single downloadable file. This enables the installer to run without needing access to the Internet.

Run the newly-unzipped executable to begin the installation process.

In the prompt that appears, grant the permissions requested by the installer.

Provide the installer with any requested permissions.

Install Account Control

At this point, the installer copies sl.exe to C:\Program Files\ShiftLeft. If you are installing Inspect and Protect, you can find the latter in C:\shiftleftDotNetAgent.

During the installation process, you will see status updates in a Command Prompt window. Once the process completes, press Enter to finish and close out of the window.

Installation Progress

Using the ShiftLeft CLI to Authenticate

The ShiftLeft CLI command sl auth is used to authenticate with ShiftLeft and associate your applications with your organization.

sl auth --org "YOUR_ORG_ID" --token "YOUR_ACCESS_TOKEN"

You can get the values for YOUR_ORG_ID and YOUR_ACCESS_TOKEN from the ShiftLeft Dashboard under Add App.

This step accomplishes two things: link the CLI running on your machine with your ShiftLeft account using ShiftLeft's API (the token included is needed to call the API).

You can confirm or update your auth values at any time by reviewing the configuration file located at C:\Users\{USER}\.shiftleft\config.json.

Inspect Your Code

At this point, you are ready to run Inspect. Please see the language-specific pages for details pertinent to your application: