Copyright 2025

The Valley of Code

A Flavio Copes project

How to install shadcn-ui on latest Next.js beta-RC
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

Join my AI Workshop !

The Web Development BOOTCAMP cohort starts in February 2026