Skip to content

CLI Overview

The @framely/cli package provides commands for previewing and rendering your video compositions.

Installation

The CLI is included when you scaffold a project with create-framely. You can also install it manually:

bash
npm install @framely/cli

Commands

CommandDescription
framely previewStart the studio dev server
framely render <id>Render a composition to video
framely still <id>Render a single frame as an image
framely compositionsList all registered compositions

Usage

bash
# Start the studio
npx framely preview

# Render a video
npx framely render my-video --output video.mp4

# Render a still frame
npx framely still my-video --output frame.png --frame 60

# List compositions
npx framely compositions

Released under the MIT License.