## Install for Kate on macOS

### Install prerequisites

Install Kate version 19 or newer.

### Install quick-lint-js

1. Download the latest release of quick-lint-js for your platform:

   - macOS (Apple Silicon)
   - macOS (Intel)

2. Extract the downloaded archive.

3. Copy the extracted `quick-lint-js/bin/quick-lint-js` file into a directory in your `PATH`.

   For example, copy it into the `/usr/local/bin` directory.

4. Open a terminal window. Type `quick-lint-js --version` and press enter to verify the installation succeeded.

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