## Install for Kate on macOS with Homebrew

Supported operating systems:

### Install prerequisites

In order to install quick-lint-js' Homebrew formula, you must first install Homebrew.

Install Kate version 19 or newer.

### Install quick-lint-js

Open a terminal. Run the following commands to add quick-lint-js' tap to your Homebrew installation and install quick-lint-js:

>     brew tap quick-lint/quick-lint-js https://github.com/quick-lint/quick-lint-js.git
>     brew 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/"
            }
        }
    }