#
Install for Kate with winget

## 1. Install prerequisites

Install Kate version 19 or newer.

## 2. Install quick-lint-js

quick-lint-js has a winget package, making it easy to install the CLI and LSP server on Windows.

In order to install quick-lint-js' winget package, you must first install winget. winget is included in Windows 11 and can be installed on Windows 10.

Open a command prompt or PowerShell window. Run the following command to install quick-lint-js:

>     winget install quick-lint-js

## 3. Configure Kate

Open the LSP Client tab in Kate's settings. In your User Server Settings, paste the following configuration:

    {
        "servers": {
            "javascript": {
                "command": ["quick-lint-js", "--lsp-server"],
                "documentLanguageId": true,
                "highlightingModeRegex": "^JavaScript.*$",
                "root": "",
                "url": "https://quick-lint-js.com/install/kate/"
            }
        }
    }