> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/sast-and-sca/cli/reference/check-environment.md).

# 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 <a href="#usage" id="usage"></a>

```
sl check-environment
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

### Checking language-specific options <a href="#checking-language-specific-options" id="checking-language-specific-options"></a>

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

```
sl check-environment [command options]
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

#### Command options <a href="#command-options" id="command-options"></a>

| **Command Option** | **Configuration to check**                                       |
| ------------------ | ---------------------------------------------------------------- |
| `--c`              | Check information regarding your C/C++ environment               |
| `--dotnet`         | Check information regarding your .NET environment                |
| `--go`             | Check information regarding your Go environment                  |
| `--jvm`            | Check information regarding your JVM environment                 |
| `--js`             | Check information regarding your JavaScript environment          |
| `--jssrc`          | Check information regarding your JavaScript (source) environment |
| `--kotlin`         | Check information regarding your Kotlin environment              |
| `--ocular`         | Check information regarding your Ocular installation             |
| `--php`            | Check information regarding your PHP environment                 |
| `--python`         | Check information regarding your Python environment              |
| `--ruby`           | Check information regarding your Ruby environment                |

#### Example <a href="#example" id="example"></a>

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
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

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