The CLI's Check Environment feature allows you to obtain information about your environment, including:
- Operating system name and version
- Whether your ShiftLeft config exists. Please note that the presence of any set environment variables will override those in a configuration file.
- Your network connectivity (e.g., whether you can reach the CDN and APIs)
- The ShiftLeft artifacts on your machine
Checking Language-Specific Options
You can also check your environment for language-specific configurations:
|Command Option||Configuration to Check|
|Check information regarding your JVM installation|
|Check information regarding your .NET environment|
|Check information regarding your Go environment|
|Check information regarding your Ocular installation|
For example, if you run Check Environment with the
--jvm flag, you will see information related to your Java installation:
You can check for multiple language-specific configurations by including multiple command options (e.g.,
sl check-environment --jvm --go).