---
title: "Discussion on \"shadcn-ui/ui codebase analysis: How does shadcn-ui CLI work? — Part 3.1\" | Hashnode"
description: "Discussion on \"shadcn-ui/ui codebase analysis: How does shadcn-ui CLI work? — Part 3.1\". I wanted to find out how shadcn-ui CLI works. In this article, I discuss the code used to build the shadcn-ui/ui CLI.\nIn part 3.0, I discussed how npx shadcn-ui add <component> command is registered. We will look at few more lines of code from packag..."
url: "https://hashnode.com/posts/shadcn-uiui-codebase-analysis-how-does-shadcn-ui-cli-work-part-31/669ae2fb2919955e18ee7282"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [shadcn-ui/ui codebase analysis: How does shadcn-ui CLI work? — Part 3.1](https://ramunarasinga.hashnode.dev/shadcn-uiui-codebase-analysis-how-does-shadcn-ui-cli-work-part-31?utm_source=hashnode&utm_medium=feed)

I wanted to find out how shadcn-ui CLI works. In this article, I discuss the code used to build the shadcn-ui/ui CLI. In part 3.0, I discussed how npx shadcn-ui add <component> command is registered. We will look at few more lines of code from packag...

Jul 19, 2024 · 3 min read · ramunarasinga.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#shadcn](https://hashnode.com/tag/shadcn)
-   [#shadcn-ui](https://hashnode.com/tag/shadcn-ui)
-   [#shadcnui](https://hashnode.com/tag/shadcnui)
-   [#cli](https://hashnode.com/tag/cli)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Ramu Narasinga](https://hashnode.com/@ram11)

@ram11

  
[View profile](https://hashnode.com/@ram11)

I am a FOSS enthusiast who explores patterns in the Github wilderness.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
