# 安装 xo

查看 xo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### Portable and language managers

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:xo
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/xo>
- **版本:** 2.0.2
- **来源摘要:** JavaScript/TypeScript linter (ESLint wrapper) with great defaults
- **主页:** <https://github.com/xojs/xo#readme>
- **仓库:** <https://github.com/xojs/xo>
- **上游文档:** <https://github.com/xojs/xo#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/xo/-/xo-2.0.2.tgz>
- **问题跟踪器:** <https://github.com/xojs/xo/issues>
- **发布时间:** 2026-03-14T19:32:15.300Z
- **更新:** 2026-03-14T19:32:15.300Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- xo (cli): dist/cli.js

## 依赖

- @eslint-community/eslint-plugin-eslint-comments
- @eslint/compat
- @sindresorhus/tsconfig
- arrify
- cosmiconfig
- define-lazy-prop
- eslint
- eslint-config-prettier
- eslint-config-xo-react
- eslint-config-xo-typescript
- eslint-formatter-pretty
- eslint-plugin-ava
- eslint-plugin-import-x
- eslint-plugin-n
- eslint-plugin-prettier
- eslint-plugin-unicorn
- find-cache-directory
- get-stdin
- get-tsconfig
- globals
- globby
- meow
- micromatch
- open-editor
- path-exists
- prettier
- type-fest
- typescript
- typescript-eslint

## 构建依赖

- @commitlint/cli
- @commitlint/config-conventional
- @types/micromatch
- @types/node
- @types/prettier
- ava
- dedent
- execa
- husky
- lint-staged
- np
- npm-package-json-lint
- npm-package-json-lint-config-default
- prettier-plugin-packagejson
- temp-dir
- xo

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.0.2
- 管理器更新时间: 2026-03-14
- 本地数据: ok
- 上游仓库: https://github.com/xojs/xo
- info: No cached GitHub release or tag data was available.

## 安全说明

没有找到 xo 的匹配本地 radioisotope manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 相关链接

- [gts](https://www.automicvault.com/pkg/npm/gts/) - Local package facts share a topical domain. Shared terms: config, eslint, eslint-config-prettier, eslint-plugin-n, eslint-plugin-prettier.
- [prettierx](https://www.automicvault.com/pkg/npm/prettierx/) - Local package facts share a topical domain. Shared terms: code, cosmiconfig, eslint, find, formatter.
- [pug-lint](https://www.automicvault.com/pkg/npm/pug-lint/) - Local package facts share a topical domain. Shared terms: code, comments, find, formatter, lint.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/)

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
