# Install ctx7 with Homebrew, Nix

Manage AI coding skills and documentation context. Version 0.5.7 via Homebrew; verified 2026-07-31. Also installable with nix: nix profile install nixpkgs#ctx7.

## Install

```sh
sudo av install brew:ctx7
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ctx7
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ctx7
```

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

## Package facts

- **Package key:** brew:ctx7
- **Package manager:** Homebrew
- **Version:** 0.5.7
- **Source summary:** Manage AI coding skills and documentation context
- **Homepage:** <https://context7.com>
- **Last updated:** 2026-07-31T09:30:39Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ctx7 (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.5.7
## Project history and usage

ctx7 is the command-line interface for Context7, an Upstash project that supplies current, version-specific library documentation to AI coding assistants.

### Project history

Context7's public repository was created in 2025 under the Upstash organization. The official docs position the platform around reducing stale or hallucinated library API answers by injecting current documentation into prompts and agent workflows.

### Adoption history

The CLI documentation targets AI coding users who want terminal access to indexed library docs and one-command setup for tools such as Claude Code, Cursor, OpenCode, and MCP-compatible agents.

### How it is used

ctx7 is used both interactively, for commands such as resolving a library and querying docs, and as a setup helper that writes MCP or skill configuration for coding agents.

### Why package nerds care

As a Homebrew formula, ctx7 packages a fast-moving AI developer-tool CLI outside the Node-only install path, making Context7 setup scriptable for users who prefer system package managers.

### Timeline

- 2025: Public upstash/context7 repository created.
- 2025: Official Context7 CLI docs describe terminal documentation queries and coding-agent setup.

### Related projects

- Context7 MCP server, Upstash, Model Context Protocol, AI coding assistants.

### Sources

- <https://context7.com/docs>
- <https://context7.com/docs/clients/cli>
- <https://github.com/upstash/context7>
- <https://api.github.com/repos/upstash/context7>


## Security Notes

No matching local secret-handling manifest was found for ctx7. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Nix - ctx7: normalized package name match | nixpkgs package indexes: pkgs/by-name/ct/ctx7/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ctx7.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ctx7.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
