---
schema_version: "1"
id: 1abd7de0ee5984fd977b884c21e7e7b70be593dd65a3c99333bd467ebdc449c6
title: Set Up SLDS Validator
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lwc/slds-validator/guides/set-up.md
canonical_url: https://developer.salesforce.com/docs/platform/slds-validator/guide/set-up.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 15ab2639127e7abf2d4879ce9557cdb75936a4c247a3f9611573f6a40671d919
products:
  - SLDS Validator
  - lwc
---
# Set Up SLDS Validator

To get started with SLDS Validator, follow these steps.

## Complete These Prerequisites

- Install [Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).
- Create a [Salesforce DX project](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_workspace_setup.htm).  
  To turn on all SLDS Validator features, open your Salesforce DX project in a directory that contains an `sfdx-project.json` file. If you don’t have a Salesforce DX project for development, create one in a scratch org with the **SFDX: Create Project** command. For development in a sandbox or DE org, use the **SFDX: Create Project with Manifest** command.
- Install the Java Standard Edition Development Kit (JDK).

  Some features in Salesforce Extensions for VS Code depend upon the JDK. You must have either version 11, 17, 21, or the latest version of the JDK installed. To install the latest version, visit [Java Downloads](https://www.oracle.com/ae/java/technologies/downloads/).

**note:** If you also use other versions of the Java JDK, set your VS Code user setting for `salesforcedx-vscode-apex.java.home` to point to the location where you installed the appropriate Java version for SLDS Validator.

- Install [VS Code](https://code.visualstudio.com/download) v1.90.0 and later.
- To view SLDS Validator reports, install a Static Analysis Results Interchange Format (SARIF) Viewer VS Code extension, like [this one](https://marketplace.visualstudio.com/items?itemName=MS-SarifVSCode.sarif-viewer).

## Install SLDS Validator

To install SLDS Validator, install the [Salesforce Extension Pack](https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode).
