## Install for Kate on Debian/Ubuntu

Supported operating systems:

### Install prerequisites

Install Kate version 19 or newer.

### Install quick-lint-js

Open a terminal, and run the following commands:

>     curl https://c.quick-lint-js.com/quick-lint-js-release.key | sudo apt-key add -
>     printf '\n# https://quick-lint-js.com/install/#debian\ndeb [arch=amd64] https://c.quick-lint-js.com/debian experimental main\n' | sudo tee -a /etc/apt/sources.list.d/quick-lint-js.list
>     sudo apt-get update
>     sudo apt-get install quick-lint-js

### 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/"
            }
        }
    }