Find bugs in JavaScript programs.

Install for Neovim with npm

Supported operating systems:

Windows instructions

quick-lint-js has an npm package, making it easy to install the LSP server for use by the Neovim plugin.

Install prerequisites

In order to install quick-lint-js' npm package, you must first install the npm client.

Install and configure one of the following Neovim plugins:

Install quick-lint-js

Install quick-lint-js globally (on your machine) for use anywhere, including the Neovim plugin:

sudo npm install --global --unsafe-perm quick-lint-js

Note: The Neovim plugin does not use quick-lint-js if it is installed locally within your project. The Neovim plugin only uses quick-lint-js if it is globally installed.

Install Neovim plugin

Install this plugin with your favorite Neovim packaging system:

Install as a Neovim package

  1. Download the quick-lint-js Neovim plugin.
  2. Add packloadall to your ~/.vimrc file if not already present.
  3. Create the directory ~/.vim/pack/external/start/.
  4. Copy the extracted quick-lint-js.vim directory into the ~/.vim/pack/external/start/ directory.
  5. Restart Neovim.

Install with dein.vim

This option requires dein.vim.

  1. Add the following line to your ~/.config/nvim/init.vim file between call dein#begin(...) and call dein#end():
    call dein#add('quick-lint/quick-lint-js', {'rtp': 'plugin/vim/quick-lint-js.vim', 'rev': '0.6.0'})
  2. Restart Neovim.
  3. In Neovim, run :call dein#install().

Install with packer.nvim

This option requires packer.nvim.

  1. Add the following line to your ~/.config/nvim/lua/plugins.lua file between require('packer').startup(function() and end):
    use {'quick-lint/quick-lint-js', rtp = 'plugin/vim/quick-lint-js.vim', tag = '0.6.0', opt = true}
  2. Restart Neovim.
  3. In Neovim, run :PackerSync.

Install with Vim-Plug

This option requires Vim-Plug.

  1. Add the following line to your vimrc file between call plug#begin(...) and call plug#end():
    Plug 'quick-lint/quick-lint-js', {'rtp': 'plugin/vim/quick-lint-js.vim', 'tag': '0.6.0'}
  2. Restart Neovim.
  3. In Neovim, run :PlugInstall.


Configure the Neovim plugin by opening Neovim and running :help quick-lint-js, or read the Neovim plugin docs online.

nvim-lspconfig users can add this line to their init.lua file:

require('lspconfig/quick_lint_js').setup {}