# 使用 npm 安装 lighthouse

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

## 安装

```sh
sudo av install npm:lighthouse
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g lighthouse
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:lighthouse
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/lighthouse>
- **版本:** 13.4.0
- **来源摘要:** Automated auditing, performance metrics, and best practices for the web.
- **主页:** <https://github.com/GoogleChrome/lighthouse#readme>
- **仓库:** <https://github.com/GoogleChrome/lighthouse>
- **上游文档:** <https://github.com/GoogleChrome/lighthouse#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/lighthouse/-/lighthouse-13.4.0.tgz>
- **问题跟踪器:** <https://github.com/GoogleChrome/lighthouse/issues>
- **发布时间:** 2026-06-09T20:08:15.605Z
- **最后更新:** 2026-06-09T20:08:15.605Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- chrome-debug (cli)
- lighthouse (cli)
- smokehouse (cli)

## 依赖

- @paulirish/trace_engine
- @sentry/node
- axe-core
- chrome-launcher
- configstore
- csp_evaluator
- devtools-protocol
- enquirer
- http-link-header
- intl-messageformat
- jpeg-js
- js-library-detector
- lighthouse-logger
- lighthouse-stack-packs
- lodash-es
- lookup-closest-locale
- open
- puppeteer-core
- robots-parser
- speedline-core
- third-party-web
- tldts-icann
- web-features
- ws
- yargs
- yargs-parser

## 构建依赖

- @build-tracker/cli
- @esbuild-kit/esm-loader
- @esbuild-plugins/node-modules-polyfill
- @eslint/compat
- @eslint/eslintrc
- @eslint/js
- @formatjs/icu-messageformat-parser
- @jest/fake-timers
- @testing-library/preact
- @testing-library/preact-hooks
- @types/archiver
- @types/chrome
- @types/configstore
- @types/cpy
- @types/debug
- @types/eslint
- @types/estree
- @types/gh-pages
- @types/google.analytics
- @types/gtag.js
- @types/jpeg-js
- @types/jsdom
- @types/lodash-es
- @types/mocha
- @types/node
- @types/pako
- @types/pg
- @types/resize-observer-browser
- @types/resolve
- @types/semver
- @types/ws
- @types/yargs
- @types/yargs-parser
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- acorn
- angular
- archiver
- builtin-modules
- chalk
- chrome-devtools-frontend
- colors
- concurrently
- conventional-changelog-cli
- core-js-compat
- cpy
- csv-validator
- esbuild
- eslint
- eslint-config-google
- eslint-formatter-codeframe
- eslint-plugin-import
- eslint-plugin-local-rules
- expect
- firebase
- gh-pages
- glob
- globals
- idb-keyval
- jest-mock
- jest-snapshot
- jsdom
- lighthouse-plugin-soft-navigation
- magic-string
- mime-types
- mocha
- pako
- preact
- pretty-json-stringify
- puppeteer
- resolve
- rollup-plugin-polyfill-node
- source-map-support
- terser
- testdouble
- typed-query-selector
- typescript
- wait-for-expect
- webtreemap-cdt

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 13.4.0
- 管理器更新时间: 2026-06-09
- 本地数据: OK
- 上游仓库: https://github.com/GoogleChrome/lighthouse
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 13.4.0, Next: 13.0.1-dev.20251208
- **Version Count:** 1,981
- **Maintainers:** paulirish, brendankenny, hoten, adamraine, lusayaa
- **Author:** Google LLC
- **Publisher:** hoten
- **Engines:** Node: >=22.19
- **Integrity:** sha512-QumN5pLuQvLLGWpIeUe7+LBH7oHgd0BdD3wIIncVTXe+5wiLBiO2E7pQjNDUWu1si1r0iPKtXOPTZ0sUPXHivA==
- **Shasum:** 81ac4e2ff3053589515711e0200a0039c2b645d5
- **Unpacked Size:** 18,948,409
- **File Count:** 0
- **Created At:** 2012-03-28T02:06:46.229Z
- **Latest Published At:** 2026-06-09T20:08:15.605Z
- **Modified At:** 2026-06-09T20:08:15.737Z

## 其他软件包管理器记录

- Nix - lighthouse: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/lighthouse/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lighthouse - 8.1.3-r0: normalized package name match | Alpine Linux edge package indexes: lighthouse from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ethereum 2.0 Client | https://lighthouse.sigmaprime.io/
- apk - lighthouse-doc - 8.1.3-r0: normalized package name match | Alpine Linux edge package indexes: lighthouse-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ethereum 2.0 Client (documentation) | https://lighthouse.sigmaprime.io/


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [chrome-launcher](https://www.automicvault.com/zh-hans/pkg/npm/chrome-launcher/) - Both packages touch the same language runtime or ecosystem. Shared terms: chrome, chrome-launcher, devtools, launcher, lighthouse.
- [chromium-edge-launcher](https://www.automicvault.com/zh-hans/pkg/npm/chromium-edge-launcher/) - Both packages touch the same language runtime or ecosystem. Shared terms: devtools, launcher, lighthouse, lighthouse-logger, logger.
- [mcp-accessibility-scanner](https://www.automicvault.com/zh-hans/pkg/npm/mcp-accessibility-scanner/) - Local package facts share a topical domain. Shared terms: automated, axe, axe-core, core, debug.
- [lighthouse](https://www.automicvault.com/zh-hans/pkg/brew/lighthouse/) - Same normalized package name exists in another local package ecosystem.

## 来源

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