How can I help you?
Installation
6 Feb 20261 minute to read
Install via npm CLI
Syncfusion® JavaScript (Essential® JS 2) packages are published in npm. You can install the necessary packages from npm’s install command. For example, grid package can be installed using following command.
npm install @syncfusion/ej2-grids --save
Install by using package.json
-
Add the Syncfusion® JavaScript (Essential® JS 2) package references in the
dependenciesof~/package.jsonfile.{ "dependencies": { "@syncfusion/ej2-grids": "*", "@syncfusion/ej2-charts": "*" } }The
*indicates the latest version of npm package. Refer the documentation for more details about npm versioning. -
Now, open the command prompt and run the
npm installcommand line. This will install all npm dependencies in a single command line.
Refer the documentation for more details about npm package.json