CLI Reference

DevShot includes a command-line interface for power users who prefer terminal workflows.

Installation

The CLI is bundled with the desktop app. After installing DevShot, add it to your PATH:

$ set PATH=%LOCALAPPDATA%\DevShot;%PATH%

Commands

devshot start

Start the DevShot desktop server and begin listening for incoming screenshots.

$ devshot start
DevShot server running on ws://0.0.0.0:7843

devshot status

Check the current status of the DevShot server, including paired device and daily count.

$ devshot status
Running: true | Device: Pixel 8 | Screenshots today: 12

devshot latest

Show the path and metadata of the most recent screenshot received.

$ devshot latest
~/devshot/mobile-latest.png
{"device":"Pixel 8","width":1080,"height":2340}

devshot history

List recent screenshots with timestamps.

$ devshot history --limit 10
Showing 10 of 42 screenshots...

devshot pair

Generate a QR code to pair your Android phone with the desktop app.

$ devshot pair
Scan the QR code with the DevShot Android app...

devshot config

View or update DevShot configuration settings.

$ devshot config set save_history true
Updated: save_history = true