# Install iredis with Homebrew, apt, Nix, zypper

Terminal Client for Redis with AutoCompletion and Syntax Highlighting. Version 1.16.1 via Homebrew; verified 2026-05-07.

## Install

```sh
sudo av install brew:iredis
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install iredis
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install iredis
```

  Evidence: Debian stable package indexes: iredis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#iredis
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ir/iredis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install iredis
```

  Evidence: openSUSE Tumbleweed package metadata: iredis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:iredis
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/iredis>
- **Version:** 1.16.1
- **Source summary:** Terminal Client for Redis with AutoCompletion and Syntax Highlighting
- **Homepage:** <https://iredis.xbin.io/>
- **Repository:** <https://github.com/laixintao/iredis>
- **Upstream docs:** <https://github.com/laixintao/iredis#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://files.pythonhosted.org/packages/24/3c/9d26458a7e1a064f417fbdca8e9c0656c3c1a0afda225bf6ad76c3ff4f70/iredis-1.16.1.tar.gz>
- **Last updated:** 2026-05-07T11:19:32Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- iredis (cli)
- iredis (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.16.1
- Package-manager updated: 2026-05-07
- Local data: ok
- Upstream repository: https://iredis.xbin.io/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

IRedis is an interactive Redis terminal client that adds completion, syntax highlighting, validation, hints, and friendlier output around the Redis command-line workflow. It belongs to the dbcli-style family of database CLIs that make REPL use safer and more ergonomic than a bare protocol client.

### Project history

The first PyPI files for IRedis appeared in August 2019, and the README describes the project as a Redis alternative to `redis-cli` with auto-completion, syntax highlighting, command validation, and safer behavior around dangerous commands such as `KEYS *`. Its documentation emphasizes a Redis-compatible interactive mode while adding history-aware completion, command hints, DSN support, cluster support, URL connections, pager support, and human-friendly rendering.

The changelog shows the project following Redis command evolution closely: releases added support for Redis 6 username authentication, Redis 7 command coverage, cluster MOVED handling, NAT mapping for cluster deployments, Python version changes, and updates to command grammar data.

### Adoption history

IRedis moved beyond pip distribution into Homebrew and Linux distribution packages, and the project README documents pip, pipx, Homebrew, apt, and standalone binary installation paths. A pgcli project post in 2020 announced IRedis joining the dbcli organization, which helps explain its design culture: database shells with completion, hints, and presentation polish.

### How it is used

Users run `iredis` interactively, connect with Redis host/port flags or Redis URLs, store DSNs in `iredisrc`, and issue Redis commands with validation and completion. The package can also run one-shot commands, handle TLS URLs, support Redis Cluster redirects, and hide passwords during AUTH.

### Why package nerds care

IRedis is interesting to package people because it is not a server or driver but a nicer operations shell. Packaging has to track Python support, Redis command metadata, optional standalone binary history, and config-file paths, while users expect it to feel like a drop-in friendlier `redis-cli`.

### Timeline

- 2019: First PyPI releases appeared in August.
- 2020: The pgcli project welcomed IRedis to the dbcli organization.
- 2021: Changelog entries added Redis command support and Python compatibility updates.
- 2022: IRedis accepted Redis 6 username auth and added Redis 7-oriented command support.
- 2024: The project updated Redis command grammar and Python support while deprecating standalone PyOxidizer builds after v1.15.2.
- 2026: IRedis 1.16.1 added Redis Cluster NAT mapping and MOVED redirect handling fixes.

### Related projects

- IRedis is related to Redis, redis-cli, redis-py, prompt-toolkit-style terminal interfaces, and the dbcli ecosystem that includes pgcli and mycli.

### Sources

- <https://formulae.brew.sh/formula/iredis>
- <https://github.com/laixintao/iredis>
- <https://pypi.org/project/iredis/>
- <https://raw.githubusercontent.com/laixintao/iredis/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/laixintao/iredis/master/README.md>
- <https://www.pgcli.com/welcome-iredis.html>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/iredisrc, ~/.iredisrc, ./.iredisrc

## Credential files

- Unix: /etc/iredisrc, ~/.iredisrc, ./.iredisrc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** iredis
- **Version Scheme:** 0
- **Revision:** 2
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - iredis - 1.15.1-2: normalized package name match | Debian stable package indexes: iredis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI for Redis with auto-completion and syntax highlighting | https://iredis.xbin.io
- Nix - iredis: normalized package name match | nixpkgs package indexes: pkgs/by-name/ir/iredis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - iredis - 1.14.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: iredis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI for Redis with auto-completion and syntax highlighting | https://iredis.io
- zypper - iredis - 1.15.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: iredis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Terminal client for Redis with auto-completion and syntax highlighting | https://iredis.xbin.io/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rdb](https://www.automicvault.com/pkg/brew/rdb/) - Shares av.db curated category or tags: cli, data, redis.
- [visidata](https://www.automicvault.com/pkg/brew/visidata/) - Shares av.db curated category or tags: cli, data, python, terminal.
- [bagit](https://www.automicvault.com/pkg/brew/bagit/) - Shares av.db curated category or tags: cli, data, python.
- [csvkit](https://www.automicvault.com/pkg/brew/csvkit/) - Shares av.db curated category or tags: cli, data, python.
- [csvlens](https://www.automicvault.com/pkg/brew/csvlens/) - Shares av.db curated category or tags: cli, data, terminal.
- [distribution](https://www.automicvault.com/pkg/brew/distribution/) - Shares av.db curated category or tags: cli, data, terminal.
- [dynomite](https://www.automicvault.com/pkg/brew/dynomite/) - Shares av.db curated category or tags: cli, data, redis.
- [fred](https://www.automicvault.com/pkg/brew/fred/) - Shares av.db curated category or tags: cli, data, python.
- [mycli](https://www.automicvault.com/pkg/brew/mycli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, client, data, database, database-client.

## Combined YAML source

View the package source record on GitHub. [combined/iredis.yml](https://github.com/automic-vault/db/blob/main/combined/iredis.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
