# Install xo with npm

JavaScript/TypeScript linter (ESLint wrapper) with great defaults. Version 4.0.0 via npm; verified 2026-07-06.

## Install

```sh
sudo av install npm:xo
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g xo
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:xo
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/xo>
- **Version:** 4.0.0
- **Source summary:** JavaScript/TypeScript linter (ESLint wrapper) with great defaults
- **Homepage:** <https://github.com/xojs/xo#readme>
- **Repository:** <https://github.com/xojs/xo>
- **Upstream docs:** <https://github.com/xojs/xo#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/xo/-/xo-4.0.0.tgz>
- **Issue tracker:** <https://github.com/xojs/xo/issues>
- **Published:** 2026-07-06T23:11:26.344Z
- **Last updated:** 2026-07-06T23:11:26.344Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- xo (cli)

## Dependencies

- @sindresorhus/tsconfig
- arrify
- cosmiconfig
- define-lazy-prop
- eslint
- eslint-config-xo
- eslint-formatter-pretty
- find-cache-directory
- get-stdin
- get-tsconfig
- globby
- jiti
- meow
- micromatch
- open-editor
- path-exists
- prettier
- type-fest
- typescript

## Build dependencies

- @types/micromatch
- @types/node
- dedent
- eslint-plugin-vue
- execa
- husky
- np
- temp-dir
- xo

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.0.0
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/xojs/xo
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for xo. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0, Next: 0.61.0-2
- **Version Count:** 146
- **Maintainers:** sindresorhus
- **Author:** Sindre Sorhus
- **Publisher:** sindresorhus
- **Engines:** Node: >=22
- **Funding:** <https://github.com/sponsors/sindresorhus>
- **Integrity:** sha512-230aBWg2e2oAB1R60mh/naJ50k0YfLdkb4LZEn4D1WzaQwDxjj6btnoFPX/Go4E7EPhkKpsgZf4KllcL0XlPUg==
- **Shasum:** 78285d81415e531a398cd6f5ee27d2f40d64ab35
- **Unpacked Size:** 93,814
- **File Count:** 0
- **Created At:** 2012-05-24T04:56:46.528Z
- **Latest Published At:** 2026-07-06T23:11:26.344Z
- **Modified At:** 2026-07-06T23:11:26.470Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [tsd](https://pkg.so/npm/tsd/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, eslint.
- [eslint-doc-generator](https://pkg.so/npm/eslint-doc-generator/) - Local package facts share a topical domain. Shared terms: cli, code, cosmiconfig, developer, developer-tools.
- [npm-package-json-lint](https://pkg.so/npm/npm-package-json-lint/) - Local package facts share a topical domain. Shared terms: cli, cosmiconfig, developer, developer-tools, fest.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
