A simple script to update all your shadcn/ui components in one go. No more updating components one by one!
The Script
Quick Start
- Save as
update-shadcn-components.sh
- Make executable:
chmod +x update-shadcn-components.sh
- Run:
./update-shadcn-components.sh
What it does
- Updates all shadcn components in
src/components/ui/
- Shows progress for each update
- Tells you what succeeded and what failed
Before Running
- Commit your changes
- Be in your project root directory
That’s it! Simple and effective way to keep your shadcn components up to date.
Comments powered by Disqus.