# August 2024 - npx JGuang UI init · JGuang UI

> 本页提供 JGuang UI 技术内容、中文导航与术语适配。

- 页面: https://jiguang132.com/zh/systems/jguang-ui/docs/changelog/2024-08-npx-jguang-ui-init
- 改编自: shadcn/ui 文档 (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c
- 说明：正文保留英文原文。

The new CLI is now available. It's a complete rewrite with a lot of new features and improvements. You can now install components, themes, hooks, utils and more using `JGuang UI Registry`.

This is a major step towards distributing code that you and your LLMs can access and use.

1. First up, the CLI now has support for all major React frameworks out of the box. Next.js, Remix, Vite and Laravel. And when you init into a new app, we update your existing Tailwind files instead of overriding.
2. A component now ships its own dependencies. Take the accordion for example, it can define its Tailwind keyframes. When you add it to your project, we'll update your tailwind.config.ts file accordingly.
3. You can also install remote components using url. `JGuang UI Registry`.
4. We have also improved the init command. It does framework detection and can even init a brand new Next.js app in one command. `JGuang UI Registry`.
5. We have created a new schema that you can use to ship your own component registry. And since it has support for urls, you can even use it to distribute private components.
6. And a few more updates like better error handling and monorepo support.

You can try the new cli today.

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

### Update Your Project

To update an existing project to use the new CLI, update your `components.json` file to include import aliases for your **components**, **utils**, **ui**, **lib** and **hooks**.

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

If you're using a different import alias prefix, e.g. `~`, replace `@` with your prefix.

---

JGuang 全部资源索引: https://jiguang132.com/llms.txt
