Skip to content

Installation

The @icp-sdk/core is a single, unified package that contains all the modules you need to interact with the Internet Computer.

Terminal window
npm install @icp-sdk/core

In case you are getting errors with the @dfinity/* peer dependencies, make sure you clean the node_modules folder and reinstall the dependencies. Each version of @icp-sdk/core requires an exact version of the @dfinity/* peer dependencies.

We do not recommend using the CDN distribution of the @icp-sdk/core package for production applications.

It can constitute a security risk, because the CDN can potentially serve a different IC mainnet root key.