Getting started

Animotion uses pnpm as the package manager. If you donโ€™t have pnpm installed the easiest method to install it is using npm assuming you have Node.js installed:

npm install -g pnpm

Create a new Animotion presentation

Run the Animotion CLI:

npm create @animotion@latest

If youโ€™re using Windows and it doesnโ€™t work:

npx @animotion/create

This is going to copy the Animotion template and install the dependencies for you.

โ”Œ Welcome to Animotion!
โ”‚
โ—‡ Where should I create your project?
โ”‚  (press Enter to use the current directory)
โ”‚
โ—‡ Pick the template you want to use:
โ”‚  Default
โ”‚
โ—‡ Install dependencies? (requires pnpm)
โ”‚  Yes
โ”‚
โ—‡ Installed dependencies.
โ”‚
โ””  Done. ๐Ÿช„

๐Ÿ’ฟ๏ธ Start the development server:
pnpm run dev

๐Ÿ’ฌ Discord
https://joyofcode.xyz/invite

Install the dependencies if you havenโ€™t during the setup:

pnpm i

Start the development server:

pnpm run dev

Open http://localhost:5173/ in your browser.