# The stylelint CLI ## Installation stylelint is an [npm package](https://www.npmjs.com/package/stylelint). Install it using: ```shell npm install stylelint --save-dev ``` ## Usage `stylelint --help` prints the CLI documentation. The CLI outputs formatted results into `process.stdout`, which you can read with your human eyes or pipe elsewhere (e.g. write the information to a file). ### Examples When you run commands similar to the examples below, be sure to include the quotation marks around file globs. This ensures that you can use the powers of [globby](https://github.com/sindresorhus/globby) (like the `**` globstar) regardless of your shell. Looking for `.stylelintrc` and linting all `.css` files in the `foo` directory: ```shell stylelint "foo/*.css" ``` Looking for `.stylelintrc` and linting all `