Install for Emacs with Chocolatey
1. Install prerequisites
Install one of the following Emacs plugins:
- Eglot (recommended) (included in Emacs version 29 or newer)
- Flymake (included in Emacs version 26 or newer)
- Flycheck
- LSP Mode
2. Install quick-lint-js
quick-lint-js has a Chocolatey package, making it easy to install the CLI and LSP server on Windows.
In order to install quick-lint-js' Chocolatey package, you must first install Chocolatey.
Open an administrator PowerShell window. Run the following command to install quick-lint-js:
choco install quick-lint-js
3. Install Emacs plugin
- Download the quick-lint-js Emacs plugin.
-
Extract
quick-lint-js-emacs.zip
's files into a directory somewhere safe (for example,~/.emacs/quick-lint-js-emacs/
). -
Add the
quick-lint-js-emacs
directory to the Emacsload-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")
- Restart Emacs.