You can install npm packages for use in a Studio Two site's code. Manage packages directly from the terminal in the Code tab. There is no separate package manager UI.
Before using an npm package, you need to install it.
Important: By installing an npm package, you agree to the package's license agreement.
To install an npm package:
package.json and package-lock.json after the install completes.package.json in your project to confirm the package appears in the dependencies.You can then import the package in a site's code:
To install a specific version of a package, append @<version> to the package name:
You can find available versions on the package's page at npmjs.com.
Important: After updating a package, make sure your code is compatible with the new version.
To update a package to its latest compatible version:
package.json to confirm the updated version.Warning: When you uninstall a package, update any code that relies on it.
To uninstall a package:
package.json to confirm the package no longer appears in the dependencies.Last updated: 2 November 2026