Command-line tool
eslint
brew/eslint
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
AST-based pattern checker for JavaScript
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
npm install -g eslint
macOS
brew install eslint npm install -g eslint
Linux
npm install -g eslint
Create the ESLint configuration file
eslint --init
Lint one or more files
eslint path/to/file1.js path/to/file2.js ...
Fix lint issues
eslint --fix
Related command-line tools
- eslint-watch
Run eslint with watch mode eslint plugin command line tool watch javascript linter cli - standard
JavaScript Style Guide, with linter & automatic code fixer - vscode-langservers-extracted
Language servers for HTML, CSS, JavaScript, and JSON extracted from vscode - eslint_d
Speed up eslint to accelerate your development workflow - eslint-interactive
The CLI tool to run `eslint --fix` for each rule eslint - eslint-doc-generator
Automatic documentation generator for ESLint plugins and rules. doc docs documentation eslint generator plugin - flow
Static type checker for JavaScript - flow-bin
Binary wrapper for Flow - A static type checker for JavaScript cli-app cli bin binary flow facebook type inference…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents