# sigrok\-cli

Command\-line sigrok frontend for supported hardware acquisition, trace conversion and protocol decoding\.

ID: Q953 · Revision: 1001

Type: software · License: GPL\-3\.0\-or\-later[^sr-cli] · Status: active

Website: https://sigrok.org/wiki/Sigrok-cli



sigrok\-cli is the command\-line frontend to the sigrok acquisition and decoding libraries\. It can initialize supported instruments, capture signals, interpret protocols and save results without a graphical waveform display\. This makes it relevant to repeatable or remote measurement workflows rather than primarily interactive trace browsing\.[^sr-cli]

## Capabilities and substitutions

### Headless acquisition and decoding — supported

Runs supported capture and protocol workflows without graphical output\.[^sr-cli]

Use case: Waveform inspection and signal analysis · Platforms: Linux, Windows, macOS, Other supported sigrok platforms · Region: Build, file format and acquisition\-hardware requirements apply

### Metadata\-preserving native captures — supported

The \.sr container stores samples and session metadata\.[^sr-session]

Use case: Waveform inspection and signal analysis · Platforms: Linux, Windows, macOS, Other supported sigrok platforms · Region: Build, file format and acquisition\-hardware requirements apply

### [Substitute for PulseView](/pulseview) — limited

Alternative frontend for non\-graphical workflows; device support is shared but interactive waveform viewing is absent\.[^sr-cli][^pv-home]

Use case: Scripted supported acquisition and decoding · Platforms: Linux, Windows, macOS, Other supported sigrok platforms · Region: Build, file format and acquisition\-hardware requirements apply

## References

[^sr-cli]: [sigrok\-cli manual](<https://sigrok.org/wiki/Sigrok-cli>) — Command\-line acquisition/decoding, no GUI, licensing and capture\-first performance advice (vendor; retrieved 2026-10-07T03:45:43Z)

[^sr-session]: [sigrok session format v2](<https://sigrok.org/wiki/File_format:Sigrok/v2>) — ZIP sample data and session metadata; samplerate and channel names (vendor; retrieved 2026-10-07T03:46:40Z)

[^sr-formats]: [sigrok input and output formats](<https://sigrok.org/wiki/Input_output_formats>) — Format directionality, raw binary metadata and decoder output distinction (vendor; retrieved 2026-10-07T03:46:40Z)

[^sr-decode]: [sigrok protocol decoders](<https://sigrok.org/wiki/Protocol_decoders>) — Supported versus planned decoders and layered input/output types (vendor; retrieved 2026-10-07T03:47:07Z)

[^sr-hardware]: [sigrok supported hardware](<https://sigrok.org/wiki/Supported_hardware>) — Support completeness, development versus released builds and device\-specific requirements (vendor; retrieved 2026-10-07T03:46:57Z)

[^pv-home]: [PulseView](<https://sigrok.org/wiki/PulseView>) — Qt frontend role and GPL version 3 or later (vendor; retrieved 2026-10-07T03:45:43Z)

Source revision: https://substitutefor.net/entities/Q953?revision=1001
