## Install for Emacs on Debian/Ubuntu

Supported operating systems:

### Install prerequisites

Install one of the following Emacs plugins:

- Eglot (recommended)
- Flymake (included in Emacs version 26 or newer)
- Flycheck
- LSP Mode

### 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

### Install Emacs plugin

1. Download the quick-lint-js Emacs plugin.
2. Extract `quick-lint-js-emacs.zip`'s files into a directory somewhere safe (for example, `~/.emacs/quick-lint-js-emacs/`).
3. Add the `quick-lint-js-emacs` directory to the Emacs `load-path` variable. For example, add the following line to your init file (e.g. `~/.emacs`):

       (add-to-list 'load-path "~/.emacs/quick-lint-js-emacs")

4. Restart Emacs.

### Configure

Read the Emacs plugin docs online.