# Install ctx7 with Homebrew, Nix

Manage AI coding skills and documentation context. Version 0.5.4 via Homebrew; verified 2026-07-07.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/ctx7>
- **Version:** 0.5.4
- **Source summary:** Manage AI coding skills and documentation context
- **Homepage:** <https://context7.com>
- **Repository:** <https://github.com/upstash/context7>
- **Upstream docs:** <https://context7.com/docs>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ctx7/-/ctx7-0.5.4.tgz>
- **Last updated:** 2026-07-07T15:31:05Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ctx7 (cli)
- ctx7 (alias)

## Dependencies

- node

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.5.4
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://context7.com
- info: Release/tag comparison is only available for GitHub repositories.
## 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.


## Source Database Details

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

## 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


## Related links

- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [context7-mcp](https://www.automicvault.com/pkg/brew/context7-mcp/) - Shares the same upstream homepage.
- [gitea-mcp-server](https://www.automicvault.com/pkg/brew/gitea-mcp-server/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [github-mcp-server](https://www.automicvault.com/pkg/brew/github-mcp-server/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [mcp-atlassian](https://www.automicvault.com/pkg/brew/mcp-atlassian/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [mcphost](https://www.automicvault.com/pkg/brew/mcphost/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [mcpm](https://www.automicvault.com/pkg/brew/mcpm/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [mcptools](https://www.automicvault.com/pkg/brew/mcptools/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [neo4j-mcp](https://www.automicvault.com/pkg/brew/neo4j-mcp/) - Shares av.db curated category or tags: ai, cli, developer-tools, mcp.
- [ctx7](https://www.automicvault.com/pkg/npm/ctx7/) - Same normalized package name appears in another local ecosystem. Shared terms: ai, context, ctx7, documentation, mcp.
- [openskills](https://www.automicvault.com/pkg/brew/openskills/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, cli, coding, developer, developer-tools.
- [ctx7](https://www.automicvault.com/pkg/npm/ctx7/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
