macOS
brew install shadcnlocal Homebrew formula metadata
brew / rank 4176
CLI for adding components to your project. Version 4.21.0 via Homebrew; verified 2026-09-13. Also installable with nix: nix profile install nixpkgs#shadcn.
install
brew install shadcnlocal Homebrew formula metadata
nix profile install nixpkgs#shadcnnixpkgs package indexes · pkgs/by-name/sh/shadcn/package.nix · source: api.github.com
overview
CLI for adding components to your project
history
shadcn is the official command-line tooling for shadcn/ui, an open-code component system. Rather than installing a conventional sealed component library, it adds customizable component source and supporting dependencies directly to an application.
The shadcn-ui/ui repository began in 2023 as an open-code component collection. The project subsequently developed a dedicated `shadcn` package for initialization, registry resolution, component installation, migrations, documentation lookup, and project inspection.
The CLI became the package-managed entry point for shadcn/ui's copy-and-customize workflow. Official changelog milestones include a rewritten CLI in June 2023, the `init` workflow in April 2024, CLI 3.0 and MCP support in August 2025, and CLI v4 in March 2026.
Users run `shadcn init` to configure a project and `shadcn add` to copy registry components into it. The optional project-root `components.json` records style, framework-related choices, aliases, registry definitions, and destination paths.
shadcn is notable because it uses a package-manager-delivered CLI without treating the resulting UI as an opaque dependency: it resolves registry items and writes editable source into the consumer's project. This source-distribution model made `components.json`, registries, and repeatable CLI invocations central to the ecosystem.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
components.jsoncomponents.jsonCredential-bearing paths to review before unattended agent runs.
.env.local.env.localexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
shadcn | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:shadcn |
|---|---|
| Version | 4.21.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/shadcn |
| Homepage | https://ui.shadcn.com |
| Upstream docs | https://ui.shadcn.com |
| License | MIT |
| Source archive | https://registry.npmjs.org/shadcn/-/shadcn-4.19.0.tgz |
| Last updated | 2026-09-13T09:37:40Z |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | shadcn |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
shadcn
nix profile install nixpkgs#shadcnsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.