CLI
CLI
Risuko command-line interface reference.
The Risuko CLI (risuko) is a standalone binary that provides full access to the download engine from your terminal. It communicates with a running engine instance via JSON-RPC, or starts a temporary headless engine when needed.
Installation
npm install -g @risuko/cliOr download standalone binaries from GitHub Releases.
Usage
risuko <command> [options]Commands
| Command | Description |
|---|---|
download | Download a file from a URL, magnet link, or torrent file |
status | Show status of downloads |
pause | Pause a download |
resume | Resume a paused download |
remove | Remove a download |
pause-all | Pause all active downloads |
resume-all | Resume all paused downloads |
global-stat | Show global download/upload stats |
files | Show files belonging to a download |
peers | Show peers for a torrent download |
purge | Purge completed/error/removed results |
config | Get, set, or list configuration values |
rss | Manage RSS feed subscriptions |
serve | Start headless engine (RPC server only) |
shutdown | Request engine shutdown via RPC |
Global Behavior
- The CLI connects to the engine's JSON-RPC server (default port
16800) - If no engine is running, the
downloadcommand starts a temporary headless instance - Use
--rpc-porton most commands to connect to a non-default port - Use
--rpc-secretto pass an authentication token when the engine hasrpc-secretconfigured - Use
--jsonfor machine-readable output