quick-lint-js

quick-lint-js finds bugs in JavaScript programs.

Install quick-lint-js

Install method Operating systems
CLI
LSP server
VS Code
extension

Vim
plugin
 npm  *
 Homebrew
 Debian
 Ubuntu
 Nix
 VS Code
marketplace
Manual (pre-built)
Manual (source)

* The LSP server is not installed globally with this installation method, so some editors might not be able to access it.

 npm

Supported operating systems:

quick-lint-js has an npm package, making it easy to install the CLI in your JavaScript project.

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

There are two ways to install quick-lint-js: within a project, or globally.

Install within project

Install quick-lint-js within a project so anyone can use it when hacking on your project:

 Linux and  macOS with npm

$ npm install quick-lint-js --save-dev --save-exact
$ node_modules/.bin/quick-lint-js --help

 Linux and  macOS with yarn

$ yarn add quick-lint-js --dev --exact
$ node_modules/.bin/quick-lint-js --help

 Windows with npm

$ npm install quick-lint-js --save-dev --save-exact
$ node_modules\.bin\quick-lint-js.cmd --help

 Windows with yarn

$ yarn add quick-lint-js --dev --exact
$ node_modules\.bin\quick-lint-js.cmd --help

Install globally

Install quick-lint-js globally (on your machine) for use anywhere:

 Linux and  macOS

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

 Windows

$ npm install --global quick-lint-js
$ quick-lint-js.cmd --help

 Homebrew

Supported operating systems:

quick-lint-js has a Homebrew formula, making it easy to install the CLI and LSP server on macOS.

In order to install quick-lint-js' Homebrew formula, you must first install Homebrew.

Then, open a terminal, and run the following command to add quick-lint-js' tap to your Homebrew installation:

$ brew tap quick-lint/quick-lint-js https://github.com/quick-lint/quick-lint-js.git

Finally, in the terminal, run the following command to install quick-lint-js:

$ brew install --HEAD quick-lint-js

Now the CLI, called quick-lint-js, is available in your user path:

$ quick-lint-js --help

 Visual Studio Code marketplace

Supported operating systems:

quick-lint-js has a Visual Studio Code extension on the marketplace.

Visit the quick-lint-js extension page, then click the Install button.

Alternatively, open Visual Studio Code, open the Extensions panel, and search for quick-lint-js.