Check installed shadcn version #6792
Replies: 3 comments 8 replies
-
I have not try the canary version. For my project, I just put the install command provided on the component page and it will install the version I was using. Hope this help |
Beta Was this translation helpful? Give feedback.
-
@sohaibfurqan92 The cli will take care of installing the correct components. If you're using Tailwind v3, it will install v3 compatible components. |
Beta Was this translation helpful? Give feedback.
-
I believe there should be a way to check the installed version of ShadCN. My project currently uses "react-hook-form": "^7.58.1" and "zod": "^3.25.67". However, when I run npx shadcn@latest add form, the command automatically updates the dependencies to "react-hook-form": "^7.60.0" and "zod": "^4.0.5", which results in numerous type errors. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a relatively old project with shadcn installed. How do I check which version was installed?
In package.json there are many dependencies which shadcn installed but no direct mention of shadcn itself.
Now I want to add a component and my preference was to install it using the same shadcn version as the other components because doing '@latest' starts installing the canary version, which I think wouldn't be stable at this point?
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions