Skip to content
Dashboard

v0 now reads npm credentials from shared environment variables

, Sahaj Jain

v0 now installs private packages from npm and custom registries using credentials stored as shared environment variables on Vercel.

This makes it easier for teams to build with their existing design systems, component libraries, and internal packages directly in v0.

To get started, add one of the following as a shared environment variable on Vercel, scoped to Development and/or Preview:

  • Use NPM_TOKEN for private packages hosted on registry.npmjs.org.

  • Use NPM_RC to configure custom or multiple registries.

NPM_RC supports scoped registries and references to other environment variables. For example, configure an organization scope such as @acme for GitHub Packages, or direct package requests through a private JFrog Artifactory registry.

Credentials can be marked sensitive, and v0 never exposes them to the model or writes them to the sandbox filesystem.

You can view the integration status from Settings → Integrations in v0.

Learn more in the private dependencies docs.