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.[1]
Command-line measurement
A workflow identifies a device driver, its configuration, channels and capture limits, then writes samples or processed output. Inputs can also come from existing files, allowing decoding to be separated from acquisition. The manual recommends capturing first and processing later for demanding workloads because the command-line application is single-threaded and output overhead can overwhelm acquisition. Automation therefore needs a data path appropriate to the intended capture rate.[1]
Data and metadata
The native .sr session format is a ZIP container holding sample data and metadata such as channel information and sample rate. This differs from raw binary exports, which lack attached metadata. The input/output table also distinguishes formats that can only be read or only be written. Keeping acquisition context with exported samples is necessary for meaningful later interpretation, rather than assuming that a filename identifies all relevant timing and channel properties.[2][3]
Protocol results
sigrok's decoder catalog identifies supported protocols and the types of data that decoders consume and emit. Layered decoders can interpret a bus stream at a more specific device level. These results are separate from raw samples: the format documentation warns that processed decoder output is not saved through the ordinary raw-output file option. A scripted workflow must therefore preserve the intended output stream as well as any original capture needed for reanalysis.[3][4]
Availability and substitution
The GPLv3-or-later frontend can substitute for PulseView when the task is repeatable supported acquisition or file decoding and no graphical display is required. Hardware support still comes from the underlying libraries; the catalog includes incomplete and planned entries and may describe newer development builds. It does not replace every interactive inspection feature, nor does using a command-line tool remove device-specific configuration requirements. No hardware was connected or data acquisition performed for this article.[1][5][6]
Capabilities & limitations
Headless acquisition and decoding
supported
Runs supported capture and protocol workflows without graphical output.[1]
Waveform inspection and signal analysis · Linux, Windows, macOS, Other supported sigrok platforms · Build, file format and acquisition-hardware requirements apply
Command-line acquisition/decoding, no GUI, licensing and capture-first performance advice
vendor · checked 2026-10-07
Metadata-preserving native captures
supported
The .sr container stores samples and session metadata.[2]
Waveform inspection and signal analysis · Linux, Windows, macOS, Other supported sigrok platforms · Build, file format and acquisition-hardware requirements apply