All I want for Christmas is… preview!
And now, you’ve got it! Dive into faster testing and debugging with canva apps preview.
With the Canva CLI: canva apps preview command, you can now preview your Canva app right from the command line – no Developer Portal required! It’s a real-time, seamless way to test and debug your app as you build. ![]()
How to unwrap this gift:
- Update to the latest version of the Canva CLI:
npm install -g @canva/cli@latest - From your app’s directory, run:
npm start & canva apps preview - Once your app is running, the preview link will automatically open in your browser. Alternatively, click on the link provided in the terminal.

Add previewing right into your workflow
Want to streamline your setup? You can integrate previewing directly into your app’s start script:
- Install the Canva CLI package directly in your app:
npm install -D @canva/cli - Install the
openpackage in your app:npm install -D open@8.4.2 - Update your
scripts/start/app_runner.tsfile to include previewing.
import * as open from "open"
import { generatePreviewUrl } from "@canva/cli"
const generatePreviewResult = await generatePreviewUrl();
if (generatePreviewResult.success) {
open(generatePreviewResult.data);
}
- Alternatively, rebase the latest starter kit to get the changes added automatically.
- Run
npm startand the preview URL will be automatically generated and opened in your browser!
This functionality comes gift-wrapped in the latest version of the starter kit and all our CLI templates, so it’s simpler than ever to get started when building a new app.
As an extra treat, the Canva CLI now comes with a festive makeover—complete with animated snowfall and a cheerful Christmas hat to keep your terminal merry and bright! ![]()
![]()

We hope this speeds up your app development process and we can’t wait to see the amazing apps you create! ![]()
Keep your eyes peeled for more
exciting releases
this week. To see everything we’ve launched so far, check out the Developer Christmas 2024 thread.