← 返回命令列表

Linux command

pw-cli 命令

文件

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

List

pw-cli ls [Node|Link|Port|Device]

Example

pw-cli info [4]

Example

pw-cli info all

Monitor

pw-cli -m

Example

pw-cli help

说明

pw-cli is the command-line interface for managing PipeWire. It can list, inspect, create, and destroy PipeWire objects including nodes, links, ports, and devices. The tool provides low-level access to PipeWire's object model, useful for debugging, scripting, and understanding the audio graph.

参数

-m, --monitor
Monitor for object changes
-r, --remote _name_
Connect to remote PipeWire instance
-h, --help
Display help information

FAQ

What is the pw-cli command used for?

pw-cli is the command-line interface for managing PipeWire. It can list, inspect, create, and destroy PipeWire objects including nodes, links, ports, and devices. The tool provides low-level access to PipeWire's object model, useful for debugging, scripting, and understanding the audio graph.

How do I run a basic pw-cli example?

Run `pw-cli ls [Node|Link|Port|Device]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -m, --monitor do in pw-cli?

Monitor for object changes