AutoMax
Getting started

Installation

Install Node 22, Bun or pnpm, the AutoMax workspace and Playwright browsers.

What you'll learn

Which runtimes AutoMax needs, how to install the workspace with Bun or pnpm, how to install browsers, and how to confirm the setup with automax doctor.

Requirements

RequirementVersionWhy
Node.js22 or newerPlaywright workers, vitest and native database drivers run on Node
Bun or pnpmBun 1.4+ or pnpm 9+package manager and script runner. Bun installs and builds faster; nothing executes tests under Bun
Gitany recentcloning and proposals
DockeroptionalPostgres for the database toggle
Use nvm use 22 or fnm use 22. The repository ships an .nvmrc.

Install the workspace

git clone https://github.com/siri1410/AutoMax.git
cd AutoMax
bun install                # or: pnpm install
npx playwright install --with-deps

bun install links every workspace package (packages/*, apps/*). The automax command runs from source through tsx, so there is no build step during development.

Check the setup

bun run automax doctor

doctor checks Node, Bun, Playwright, the three browser engines, every project's environment files and the variables they reference, and database reachability. Add --fix to install missing browsers.

Sample output:

✔ node                         v22.22.2
✔ bun                          1.4.0
✔ npx playwright               Version 1.62.1
✔ browser:chromium             /Users/you/Library/Caches/ms-playwright/chromium-.../chrome
✔ browser:firefox              ...
✔ browser:webkit               ...
✔ projects                     demo-shop
✔ demo-shop/local vars         0 var(s) resolved
✔ demo-shop/staging vars       0 var(s) resolved
✔ database                     sqlite (.automax/automax.db)

Look around

bun run automax project list
bun run automax config validate

Install as a dependency of your own repository

Once packages are published, a new workspace is one command away:

npx automax init my-tests

Next steps

On this page