Install CLI
Install the mt CLI, open your Remotion project, and choose whether to reuse a motion or share one of your own.
1. Install the CLI
Install Node.js 22.20 or newer, then open Terminal on macOS or Linux, or PowerShell on Windows. The CLI is available on npm.
node --version
npm install --global motion-template@latest
mt --version
Run the same install command to update. If mt is still unavailable, open a new terminal and check that npm's global executable directory is on your PATH. You can also run a command without a global install, for example npx motion-template@latest --help.
2. Open your Remotion project
In your terminal, change into the folder that contains your Remotion project's package.json. To start from scratch, follow the Remotion installation guide first. Sharing and importing require Remotion 4.0.498 or newer.
cd "path/to/your/remotion-project"
mt doctor
mt doctor checks Node.js, Remotion, credential storage and your account. If project dependencies are missing, install them with the package manager used by the project and run mt doctor again.
3. Sign in when you need your account
Public search and public imports work without an account. Sign in to share a motion, access your private library or download source from a premium Project you have access to.
mt login
Open the link printed in your terminal, sign in with Genation and verify that the code in the browser matches the one in your terminal. After approval, return to the same terminal to finish.
mt login --wait
4. Find and add a motion
Search the public catalog from your terminal or open the gallery. A link ending in /t/… is an asset link. A link ending in /p/… is a Project with one or more assets. Use the ID at the end of the link in the commands below.
mt search "product launch"
Read the asset's details in the gallery, or use mt inspect if it appears in your installed CLI's mt --help.
mt inspect ASSET_ID
mt inspect PROJECT_ID --project
After sign-in, mt search "product launch" --scope private searches your private library. Use --scope all to include both your private library and the public catalog. Anyone can play previews of Projects labeled Premium in the gallery. Downloading their source requires active Pro or Project owner access. See Pricing to compare plans.
Preview the import before writing files. Replace ASSET_ID with the ID you chose.
mt add ASSET_ID --dry-run --json
Review the files, dependencies, conflicts and license in the result. Copy data.template.versionId into the next command in place of VERSION_ID to import the exact version you reviewed.
mt add ASSET_ID --asset-version VERSION_ID
mt add puts the source in your project and reports the import to use in your Remotion Root. Follow that registration hint and open Remotion Studio to review the result. Use --dir if the receiving project is in a different folder.
5. Share a composition
Sign in, then find the composition ID in Remotion Studio or in your Root. Run mt projects to list the Mosion Projects you already own. The example creates a new public Project. Use MIT only if you can license the source and media you are sharing under those terms.
Check Pricing for your plan's total Project and private asset allowances. mt projects --json can show your current Project limit as projectLimit.
Run mt whoami to verify the account, and mt usage to see current Project,
private asset, share and download usage. Both commands support --json.
Admins can publish to a new or existing Premium Project with --premium.
mt share COMPOSITION_ID --new-project "My motion pack" --public --license MIT --dry-run --json
Review the destination, visibility, license and exact staged files, including images, fonts and any shared source from other scenes. Anyone can download the files you publish publicly. If the list matches what you want to share, copy data.sourceDigest and rerun the same command with --expected-source SOURCE_DIGEST in place of --dry-run. Open the gallery link printed when the share succeeds.
If the dry run warns about overlapping audio, open the reported frame in the Player. Background music uses one of five available tracks. End each effect's Sequence when its clip finishes, then repeat the dry run if you change the source. The check samples default props, so also preview any tempo or timing settings your audience can change.
mt share COMPOSITION_ID --new-project "My motion pack" --public --license MIT --expected-source SOURCE_DIGEST
- For a new private Project, use
--privatein place of--public. Choose a license if you want to grant reuse rights. - To add a new asset to an existing Project, replace
--new-project "My motion pack"with--project PROJECT_IDand use the Project's visibility. Supply a license when adding a new public asset. - To publish a new version of an existing asset, specify its Project and add
--asset ASSET_ID.
6. Edit project and asset details
Read the current record first to obtain its revision. Use the revision from the same record in your edit. For long descriptions, --description-file accepts a UTF-8 file from the current project folder.
mt project-metadata PROJECT_ID --json
mt project-metadata PROJECT_ID --revision REVISION --summary "Launch motion pack"
mt asset-metadata ASSET_ID --json
mt asset-metadata ASSET_ID --revision REVISION --title "Title reveal"
7. Set up a coding agent
If you use a coding agent, install the share-template and use-template skills from the project folder. Open a new agent session after installing or updating them.
mt init
Use mt init --agent codex to select Codex, mt init --global for user-level installation, or mt init --dry-run to see where the skills will go. The gallery's copyable prompts link to the agent instructions.
Command help and sign-out
Run mt --help for the full command list and mt share --help or mt add --help for command options. Most commands read the current directory. Pass --cwd "path/to/project" to run from another folder, or --json to get machine-readable output. Run mt logout to sign out of the CLI on this machine.