Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: clarify local Playwright CLI installation (#41168)

sohn788df9e41a59
diff --git a/docs/src/getting-started-cli.md b/docs/src/getting-started-cli.md
index 3b8b8bf380..5b6d18f23b 100644
--- a/docs/src/getting-started-cli.md
+++ b/docs/src/getting-started-cli.md
@@ -30,6 +30,7 @@ playwright-cli --help
Alternatively, install `@playwright/cli` as a local dependency and use `npx`:
```bash
+npm install -D @playwright/cli@latest
npx playwright-cli --help
```