Syncfusion AI Assistant

How can I help you?

Updating Syncfusion® npm packages

6 Feb 20261 minute to read

Keeping Syncfusion® packages up to date ensures access to new features, bug fixes, performance improvements, and security patches.

The recommended tool for bulk updates is npm-check-updates (ncu), which safely updates version ranges in package.json.

npm install -g npm-check-updates

Next, use the ncu command to update the package.json file to the latest version for all @syncfusion packages,

ncu -u -f /^@syncfusion/

Finally, run the following commands to update the packages in node_modules and remove any duplicate packages that have been installed,

npm update
npm dedupe

Updating a specific npm package

You can also update a specific npm package by running the following commands from the command prompt in the root of your application,

npm update @syncfusion/ej2-grids
npm dedupe

This will update the specific package you have provided and run npm dedupe command which will remove any duplicate package.