Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The Vega command-line interface (CLI) builds the native portion and generates app packages (.vpkg files), leaving JavaScript build processes to your preferred node package managers and orchestrators, such as npm, Yarn, and pnpm. By default, the Vega Software Development Kit (SDK) works with npm. Therefore, this page only provides configuration instructions for Yarn and pnpm package managers.

Yarn

Step 1. Install Yarn, version 3.8.1 or later. For installation instructions, see Yarn installation documentation. Step 2. To use npm-run-all with Yarn, use the NPM_EXECPATH to set the path to Yarn. Step 3. Set this environment variable in your .bashrc or .zshrc file:
Or, use it directly in your shell when running with Yarn.
Step 4. Use Yarn to install dependencies and build.

pnpm

Step 1. Install pnpm, version 9.x or later. For installation instructions, see pnpm installation documentation. Step 2. Remove any existing pnpm-lock.yaml file.
Step 3. To use npm-run-all with pnpm, use the NPM_EXECPATH to set the path to pnpm. Step 4. Set this environment variable in your .bashrc or .zshrc file:
Or, use it directly in your shell when running with pnpm.
Step 5. Use pnpm to install dependencies and build.

Enable React Native bundling with pnpm

To enable React Native bundling with pnpm, update your app’s metro.config.js file and set the unstable_enableSymlinks property like this:
Set Up Yarn Workspaces
Last modified on September 30, 2025