hiredis
brew install hiredis
v1.4.0
BSD-3-Clause
C shared library for connecting to and communicating with Redis servers via the Redis protocol.
Why you might care
Hiredis is the official minimalist Redis C client used as a dependency by higher-level language bindings and applications that need direct Redis protocol access. It provides both synchronous and asynchronous APIs with a decoupled reply parser, making it suitable for embedding in larger systems or binding to other languages.
11.1k
30-day installs · #339
28.6k
90-day · #406
108.3k
365-day · #395
6.7k
★ GitHub stars · updated 16d ago
Runtime dependencies
Links
- https://github.com/redis/hiredis
- GitHub: redis/hiredis
- Brew formula source: Formula/h/hiredis.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"redis-cli",
"libredis",
"node-redis"
],
"build_dependencies": [],
"categories": [
"library",
"database-client"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"openssl@3"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Minimalistic client for Redis",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:39+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "hiredis",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-04T14:17:29Z",
"github_readme_excerpt": "\n[](https://github.com/redis/hiredis/actions/workflows/build.yml)\n\n**This Readme reflects the latest changed in the master branch. See [v1.0.0](https://github.com/redis/hiredis/tree/v1.0.0) for the Readme and documentation for the latest release ([API/ABI history](https://abi-laboratory.pro/?view=timeline\u0026l=hiredis)).**\n\n# HIREDIS\n\nHiredis is a minimalistic C client library for the [Redis](https://redis.io/) database.\n\nIt is minimalistic because it just adds minimal support for the protocol, but\nat the same time it uses a high level printf-alike API in order to make it\nmuch higher level than otherwise suggested by its minimal code base and the\nlack of explicit bindings for every Redis command.\n\nApart from supporting sending commands and receiving replies, it comes with\na reply parser that is decoupled from the I/O layer. It\nis a stream parser designed for easy reusability, which can for instance be used\nin higher level language bindings for efficient reply parsing.\n\nHiredis only supports the binary-safe Redis protocol, so you can use it with any\nRedis version \u003e= 1.2.0.\n\nThe library comes with multiple APIs. There is the\n*synchronous API*, the *asynchronous API* and the *reply parsing API*.\n\n## Upgrading to \u003e 1.2.0 (**PRERELEASE**)\n\n* After v1.2.0 we modified how we invoke `poll(2)` to wait for connections to complete, such that we will now retry\n the call if it is interrupted by a signal until:\n\n a) The connection succeeds or fails.\n b) The overall connection timeout is reached.\n\n In previous versions, an interrupted `poll(2)` call would cause the connection to fail\n with `c-\u003eerr` set to `REDIS_ERR_IO` and `c-\u003eerrstr` set to `poll(2): Interrupted system call`.\n\n## Upgrading to `1.1.0`\n\nAlmost all users will simply need to recompile their applications against the newer version of hiredis.\n\n**NOTE**: Hiredis can now return `nan` in addition to `-inf` and `inf` in a `REDIS_REPL",
"github_repo": "redis/hiredis",
"github_stars": 6658,
"github_topics": [],
"homepage": "https://github.com/redis/hiredis",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 11131,
"installs_365d": 108345,
"installs_90d": 28565,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": "2026-06-20T23:44:15+00:00",
"llm_model": "claude-haiku-4-5",
"name": "hiredis",
"oldnames": [],
"one_liner": "C shared library for connecting to and communicating with Redis servers via the Redis protocol.",
"optional_dependencies": [],
"rank_30d": 339,
"rank_365d": 395,
"rank_90d": 406,
"raw_hash": "484affa065834207",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/h/hiredis.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.4.0",
"versioned_formulae": [],
"why_use_this": "Hiredis is the official minimalist Redis C client used as a dependency by higher-level language bindings and applications that need direct Redis protocol access. It provides both synchronous and asynchronous APIs with a decoupled reply parser, making it suitable for embedding in larger systems or binding to other languages."
}