Getting Started
Quick Start
Run without installation:
bash
npx screenie-tool https://your-site.comScreenshots are saved to ./screenshots/ and an HTML report opens automatically in your browser.
Installation
Using npx (recommended)
No installation needed - run directly with npx:
bash
npx screenie-tool https://your-site.comThis is the recommended approach as it always uses the latest version.
Global Install
For frequent use, install globally:
bash
npm install -g screenie-toolThen run anywhere:
bash
screenie https://your-site.comUpdating
To update to the latest version:
bash
npm update -g screenie-toolCheck your current version:
bash
screenie --versionCheck if updates are available:
bash
npm outdated -g screenie-toolRequirements
- Node.js 20 or higher - Required for running the CLI
- Chromium - Automatically installed by Playwright on first run (no manual setup needed)
Basic Usage
Capture all device viewports for a website:
bash
npx screenie-tool https://example.comThis will:
- Launch Chromium browser
- Capture screenshots across 57 device viewports
- Save images to
./screenshots/directory - Generate and open an HTML report
What Happens Next
After running screenie, you'll see:
- Progress spinner showing capture status
- Screenshot files in
./screenshots/directory - HTML report opening in your browser with a grid view of all captures
Each screenshot is named with the device name (e.g., iPhone-15-Pro-Max.png) for easy identification.
Output Structure
./screenshots/
├── index.html # Visual report
├── iPhone-15-Pro-Max.png
├── iPhone-15-Pro.png
├── iPhone-SE.png
├── iPad-Pro-13.png
└── ... (57 total screenshots)The HTML report displays all screenshots in a responsive grid with device labels, making it easy to spot layout issues across different viewports.
Next Steps
- Learn about all available options in the CLI Reference
- See real-world usage patterns in Examples