Skip to content
UI Kit
Accent color

Tools

The aiw CLI

One command line from the empty folder to the upload. This page is the short reference, every option of every command is on the CLI page.

On this page

Install the CLI#

The CLI needs Node.js 22.12 or newer. Install it once globally with npm, after that aiw is ready everywhere. aiw doctor then shows which external programs are still missing, with the command to install them.

Terminal, once per machine
npm i -g ai-website
npx playwright install chromium
aiw doctor

aiw and ai-website are the same command. aiw check and aiw research need Chromium.

From folder to upload#

  1. Create

    aiw new studio-site
  2. Find and add

    aiw components pricing
    aiw add @ai-website/pricing @ai-website/faq
  3. Design

    aiw theme --colors brand=#1f6feb
    aiw media optimize public/images
  4. Check

    npm run build
    aiw check dist
    aiw seo audit dist
  5. Publish

    aiw deploy live
    aiw deploy live --yes

    The first call shows the plan, only --yes uploads.

Short reference#

Every command in one sentence. A click leads to every option on the CLI page.

Kit and server

  • aiw mcpRuns the CLI as an MCP server for your AI assistant on this machine.
  • aiw serveRuns the same tools as an HTTP MCP server with a token.
  • aiw kitStarts this site with every component locally, and the local registry with it.

Shared options#

These options come up again and again and mean the same everywhere.

OptionUsed byWhat it does
-n, --dry-runmany commandsShows the plan and changes nothing.
-y, --yesdeploy, previewConfirms a command that reaches outside this machine. Without it you get a dry run.
--projectproject commandsThe project folder, the current folder by default.
--jsonallPrints the full result as JSON, for scripts and CI.
-C, --cwdallRuns the command in another working folder.
-h, --helpallShows the help of a command with every option.

Help in the terminal#

Every command explains itself, with every option and default.

aiw --help
aiw add --help
aiw seo audit --help

Often searched

Jump to

Copied to the clipboard