General
Codebase
Dependencies
Learn how to manage dependencies in the starter kit.
We use npm as our package manager, which is the standard for Next.js projects.
About npm npm is the default package manager for Node.js and comes pre-installed with Node.js. It's widely supported and works seamlessly with Next.js and the broader JavaScript ecosystem.
Install all packages
To install all packages, run:
Terminal
npm installThis is likely your first command when you download the starter kit.
Add a package
To install a package as a dependency:
Terminal
npm install <package-name>To install a package as a dev dependency:
Terminal
npm install -D <package-name>Remove a package
To remove a package:
Terminal
npm uninstall <package-name>Update packages
To update all packages to their latest versions:
Terminal
npm deps:updateCheck for outdated packages
To see which packages have updates available:
Terminal
npm deps:check