sigrok-cli Command-line sigrok frontend for supported hardware acquisition, trace conversion and protocol decoding.
Overview 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]
Contents 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]
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]
References sigrok-cli manual Command-line acquisition/decoding, no GUI, licensing and capture-first performance advice
vendor · retrieved 2026-10-07 sigrok session format v2 ZIP sample data and session metadata; samplerate and channel names
vendor · retrieved 2026-10-07 sigrok input and output formats Format directionality, raw binary metadata and decoder output distinction
vendor · retrieved 2026-10-07 sigrok protocol decoders Supported versus planned decoders and layered input/output types
vendor · retrieved 2026-10-07 sigrok supported hardware Support completeness, development versus released builds and device-specific requirements
vendor · retrieved 2026-10-07 PulseView Qt frontend role and GPL version 3 or later
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.