Install for Emacs with winget
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 winget package, making it easy to install the CLI and LSP server on Windows.
In order to install quick-lint-js' winget package, you must first install winget. winget is included in Windows 11 and can be installed on Windows 10.
Open a command prompt or PowerShell window. Run the following command to install quick-lint-js:
winget 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.