Installation
Installation
Dev Reel can be installed globally or used directly via npx. We recommend using npx to always ensure the latest version.
Via npx (recommended)
Use directly without installation. Ideal for CI/CD and occasional use:
bash
npx @promise-inc/dev-reel buildGlobal installation
Install globally if you use Dev Reel frequently across multiple projects:
bash
npm install -g @promise-inc/dev-reelWith yarn:
bash
yarn global add @promise-inc/dev-reelWith pnpm:
bash
pnpm add -g @promise-inc/dev-reelThen use directly:
bash
dev-reel buildInstall as dev dependency
Add to your project to ensure consistent version between contributors:
bash
npm install --save-dev @promise-inc/dev-reelWith yarn:
bash
yarn add -D @promise-inc/dev-reelWith pnpm:
bash
pnpm add -D @promise-inc/dev-reelAdd a script to package.json:
json
{ "scripts": { "build:reels": "dev-reel build", "dev:reels": "dev-reel build --watch" }}Verifying installation
Check if installation was successful:
bash
dev-reel --versionOr with npx:
bash
npx @promise-inc/dev-reel --versionDev Reel requires Node.js 16.0.0 or higher. Check your version with 'node --version'.
Next steps
Now that Dev Reel is installed, check out the Quick Start to create your first animated preview.