{"id":30780688,"url":"https://github.com/brandonmcconnell/shadd","last_synced_at":"2026-01-20T16:52:37.730Z","repository":{"id":313146994,"uuid":"1050150321","full_name":"brandonmcconnell/shadd","owner":"brandonmcconnell","description":"Installable global alias/shorthand of `npx shadcn add` that works with all package managers via auto-detection","archived":false,"fork":false,"pushed_at":"2025-09-04T06:33:44.000Z","size":30,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T07:29:31.039Z","etag":null,"topics":["components","next","nextjs","radix","radix-ui","react","reactjs","registry","shadcn","shadcn-ui","shadcnui","vercel"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/shadd","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandonmcconnell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-04T02:53:35.000Z","updated_at":"2025-09-27T00:31:18.000Z","dependencies_parsed_at":"2025-09-04T07:27:06.227Z","dependency_job_id":"dfa2dac2-c0c9-4671-9b3e-f9562400c3c5","html_url":"https://github.com/brandonmcconnell/shadd","commit_stats":null,"previous_names":["brandonmcconnell/shadd"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/brandonmcconnell/shadd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmcconnell%2Fshadd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmcconnell%2Fshadd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmcconnell%2Fshadd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmcconnell%2Fshadd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonmcconnell","download_url":"https://codeload.github.com/brandonmcconnell/shadd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmcconnell%2Fshadd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003172,"owners_count":26083533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components","next","nextjs","radix","radix-ui","react","reactjs","registry","shadcn","shadcn-ui","shadcnui","vercel"],"created_at":"2025-09-05T08:00:56.476Z","updated_at":"2025-10-10T07:19:32.960Z","avatar_url":"https://github.com/brandonmcconnell.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# shadd ⊕\n\n![npm version](https://img.shields.io/npm/v/shadd?color=informational) \u003c!-- ![npm downloads](https://img.shields.io/npm/dm/shadd) --\u003e ![license](https://img.shields.io/badge/license-MIT-green)\n\nGlobal shorthand for `shadcn add` with automatic package manager detection.\n\n`shadd` forwards all flags and arguments directly to `shadcn@latest add`, while detecting your package manager (npm, pnpm, yarn, bun, or deno) so you don't have to remember which runner to use. Detection is powered by `package-manager-detector`.\n\n```diff\nBefore\n- pnpm dlx shadcn@latest add\n- npx shadcn@latest add\n- yarn shadcn@latest add\n- bunx --bun shadcn@latest add\n- deno run -A npm:shadcn@latest add\n\nAfter\n+ shadd\n```\n\n## Why?\n\n- **One command, any package manager**: Auto-detects npm, pnpm, yarn, bun, or deno and runs the correct `shadcn add` variant for you.\n- **No new flags to learn**: Everything after `shadd` is passed straight through to `shadcn add`.\n- **Monorepo-friendly**: Uses `package-manager-detector` to crawl upwards and detect the right tool for the nearest repository root.\n\n## Install (global)\n\n```bash\nnpm i -g shadd@latest\n# or\npnpm add -g shadd@latest\n# or\nyarn global add shadd@latest\n# or\nbun add -g shadd@latest\n```\n\n## Usage\n\nAll options are passed through to `shadcn add` exactly as-is.\n\n```bash\n# Wizard mode (interactive prompts)\nshadd\n\n# Add a single component\nshadd button\n\n# Add multiple components\nshadd button card dialog\n\n# Pass-through flags (examples; all flags pass through to shadcn add)\nshadd -y --overwrite button\n\n# Using registries (names, URLs, or local paths are supported by shadcn)\nshadd @8bitcn/accordion\nshadd https://example.com/registry/components/button.json\n```\n\nUnder the hood, `shadd` maps to the correct package manager command automatically:\n\n- pnpm: `pnpm dlx shadcn@latest add ...`\n- npm: `npx shadcn@latest add ...`\n- yarn: `yarn shadcn@latest add ...`\n- bun: `bunx --bun shadcn@latest add ...`\n- deno: `deno run -A npm:shadcn@latest add ...`\n\n## Notes\n\n- Must be run inside an active git repository; otherwise, `shadd` will exit with an error.\n- If a supported package manager cannot be detected, `shadd` will exit with an error.\n- Package manager detection is provided by [`package-manager-detector`](https://github.com/antfu-collective/package-manager-detector).\n\n## License\n\nMIT © Brandon McConnell\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonmcconnell%2Fshadd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonmcconnell%2Fshadd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonmcconnell%2Fshadd/lists"}