Skip to main content

rio-cli

The command-line client for Rio, an automated code review tool. Review your local diffs from the terminal, backed by the same AI review engine used by Rio's GitHub App.

Installation

pip install rio-cli

This installs the rio command.

Authentication

Before using rio review, authenticate with a Rio API key (create one on your Rio dashboard's API keys page):

rio auth

This prompts for your API key, validates it against your Rio instance, and saves it to the platform-specific config file shown below. On POSIX the file is written with restricted (0600) permissions; on Windows it lives under your already-private %APPDATA%.

OS Config file
Linux ~/.config/rio/config.toml
macOS ~/Library/Application Support/rio/config.toml
Windows %APPDATA%\rio\config.toml

The directory is created for you on first run, so you never need to mkdir by hand.

Usage

# Review currently staged changes
rio review --staged

# Review uncommitted changes (staged + unstaged)
rio review --uncommitted

# Review the last commit
rio review --committed

# Review a diff from a file
rio review --diff path/to.diff

# Include untracked files alongside any of the above
rio review --staged --include-untracked

Configuration

rio auth manages the platform-specific config file for you (see the table above for the exact location per OS). To point the CLI at a self-hosted ai-engine instance instead of the default (https://rio-ai-engine.onrender.com), edit the [api] url value in that file, or set it before running rio auth:

[api]
url = "https://your-rio-instance.example.com"
api_key = "your-api-key"

License

ISC © 2026 JayTheCoder77

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rio_cli-0.2.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rio_cli-0.2.2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file rio_cli-0.2.2.tar.gz.

File metadata

  • Download URL: rio_cli-0.2.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rio_cli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d92a3f4d97975b6a8f54e0598a5f5c01e95fdcc74f555a0e9b063b3ddaed2d3d
MD5 fe85fc22194974b55b1296ed18a2ca1c
BLAKE2b-256 9e4d0925cbb250c2919dfe6d6a26997f4bb9e15f258aaf44a728e52a958f27e7

See more details on using hashes here.

File details

Details for the file rio_cli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: rio_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rio_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4dcb8f9d64515e866f50f8eb973489a87ca65936b1df9cc3cf62a4e469583730
MD5 dac173fa4d71f61dc41e08cefa210dbe
BLAKE2b-256 09031f48cafb63834d6cdd42177dc02bc458c4793151261c8befb2bbb8642c76

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page