Skip to content
FLAVIO COPES
flaviocopes.com
2026

How to install shadcn-ui on latest Next.js beta-RC

~~~

If you want to setup and use shadcn/ui on the latest Next.js RC (not the stable release), regular setup fails for dependencies issues.

You must force it with npx --force:

npx --force shadcn@latest init

Same for installing components:

npx --force shadcn@latest add button
~~~

Related posts about next: