← 全部工具

@unlighthouse/cli

热度 65 更新于 开发与构建

CLI for Unlighthouse

npmauto-collected

安装

npm
npm install -g @unlighthouse/cli

通过 npm 安装。

<h1Unlighthouse</h1

<p align="center" Unlighthouse scans your entire site using Google Lighthouse,<br with a modern UI, minimal config and smart sampling. </p

<p align="center"<a href="https://inspect.unlighthouse.dev/"View Demo</a</p

<p align="center" <table <tbody <td align="center" <subMade possible by my <a href="https://github.com/sponsors/harlan-zw"Sponsor Program 💖</a<br Follow me <a href="https://twitter.com/harlanzw"@harlanzw</a 🐦 • Join <a href="https://discord.gg/275MBUBvgP"Discord</a for help</sub<br </td </tbody </table </p

Quick Setup

Run the following command:

npx unlighthouse --site <your-site>
# or PNPM
pnpm dlx unlighthouse --site <your-site>

[!TIP] Generate an Agent Skill for this package using skilld: bash npx skilld add unlighthouse

Requirements: Node = 22.18.0.

Getting Started

Install instructions for all integrations can be found on the docs site.

Need a hand? Join the Discord for one-on-one help.

gitignore

Unlighthouse will save your reports in outputDir, it's recommended you .gitignore these files.

.unlighthouse

#### Debugging

If you run into any issues with Unlighthouse, the first step should be to re-run the scan with debugging enabled.

# NPM
npx unlighthouse --site unlighthouse.dev --debug
# or PNPM
pnpm dlx unlighthouse --site unlighthouse.dev --debug