Skip to main content

sl check-environment

The check-environment feature allows you to obtain information about your environment, including:

  • Operating system name and version
  • Whether your Qwiet config exists.
  • Your network connectivity (e.g., whether you can reach the CDN and APIs)
  • The Qwiet artifacts on your machine

Usage

sl check-environment

Checking language-specific options

You can check your environment for language-specific configurations as follows:

sl check-environment [command options]

Command options

Command OptionConfiguration to check
--cCheck information regarding your C/C++ environment
--dotnetCheck information regarding your .NET environment
--goCheck information regarding your Go environment
--jvmCheck information regarding your JVM environment
--jsCheck information regarding your JavaScript environment
--jssrcCheck information regarding your JavaScript (source) environment
--kotlinCheck information regarding your Kotlin environment
--ocularCheck information regarding your Ocular installation
--phpCheck information regarding your PHP environment
--pythonCheck information regarding your Python environment
--rubyCheck information regarding your Ruby environment

Example

If you run sl check-environment with the --jvm flag, you will see information related to your Java installation:

==== JAVA ====
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
JDK: ✓ exists

You can check for multiple language-specific configurations by including multiple command options (e.g., sl check-environment --jvm --go).