# Install vcprompt with Homebrew, Nix

Provide version control info in shell prompts. Version 1.3.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:vcprompt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install vcprompt
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#vcprompt
```

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

## Package facts

- **Package key:** brew:vcprompt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/vcprompt>
- **Version:** 1.3.0
- **Source summary:** Provide version control info in shell prompts
- **Homepage:** <https://github.com/powerman/vcprompt>
- **Repository:** <https://github.com/powerman/vcprompt>
- **Upstream docs:** <https://github.com/powerman/vcprompt#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/powerman/vcprompt/archive/refs/tags/v1.3.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- vcprompt (cli)
- vcprompt-hgst (cli)
- vcprompt (alias)
- vcprompt-hgst (alias)

## Dependencies

- sqlite

## Build dependencies

- autoconf
- automake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.0
- Local data: ok
- Upstream repository: https://github.com/powerman/vcprompt
- Upstream latest detected: v1.3.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

vcprompt is a small command-line helper for showing version-control state in a shell prompt. The powerman repository presents it as a fork of Greg Ward's vcprompt, preserving the original idea of being lightweight rather than comprehensive.

### Project history

The powerman/vcprompt GitHub repository was created on 2013-12-22. Its README explains the fork in pragmatic performance terms: prompt helpers run every time a user gets a new shell prompt, so slow repository-status checks become noticeable quickly.

### How it is used

vcprompt is used inside shell prompt definitions to print repository information such as the current version-control system and branch/status markers. The README lists support, to varying degrees, for Mercurial, Git, Subversion, CVS, and Fossil working copies.

### Why package nerds care

Its significance is niche but clear: vcprompt belongs to the pre-heavy-shell-theme era of tiny POSIX prompt utilities. It is the kind of tool package users install when they want repository awareness without adopting a full prompt framework.

### Timeline

- 2013-12-22: The powerman/vcprompt repository was created on GitHub.
- 2021-10-10: The repository's latest pushed_at timestamp in GitHub API metadata shows later maintenance activity, though the public footprint remains small.

### Sources

- <https://api.github.com/repos/powerman/vcprompt>
- <https://github.com/powerman/vcprompt>


## Security Notes

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vcprompt
- **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 - vcprompt: normalized package name match | nixpkgs package indexes: pkgs/by-name/vc/vcprompt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [fizsh](https://www.automicvault.com/pkg/brew/fizsh/) - Shares av.db curated category or tags: cli, developer-tools, prompt, shell.
- [aliae](https://www.automicvault.com/pkg/brew/aliae/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [bar](https://www.automicvault.com/pkg/brew/bar/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [checkbashisms](https://www.automicvault.com/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [desk](https://www.automicvault.com/pkg/brew/desk/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fish](https://www.automicvault.com/pkg/brew/fish/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [mcfly](https://www.automicvault.com/pkg/brew/mcfly/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [ondir](https://www.automicvault.com/pkg/brew/ondir/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [forgit](https://www.automicvault.com/pkg/brew/forgit/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, shell.
- [db-vcs](https://www.automicvault.com/pkg/brew/db-vcs/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, version.

## Combined YAML source

View the package source record on GitHub. [combined/vcprompt.yml](https://github.com/automic-vault/db/blob/main/combined/vcprompt.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
