Skip to content

Get started

Prerequisites

What to install before Artiwright, on macOS, Windows and Linux, and how to check it.

Prerequisites.md

What you need depends on how you’ll use Artiwright. Most setups need one of Node.js or Python, not both.

You want to use it from You need
An AI app over MCP (Claude, Cursor, Codex, Antigravity) Node.js 22.13 or newer (npm comes with it)
Your own Node.js or TypeScript code, or the HTTP server Node.js 22.13 or newer
Google ADK or LangGraph agents (Python) Python 3.10 or newer. Node.js is not needed: the Python package brings its own.
Docker Docker Desktop, or Docker Engine on Linux

You’ll also need the AI app you want to use, or an API key for a model if you build your own agent.

Open a terminal (on Windows, PowerShell) and run:

node --version # v22.0.0 or newer
npm --version
python3 --version # Python 3.10 or newer

Any release from 22 on works. The current LTS release is a good choice.

Download the LTS installer from nodejs.org, or use a package manager:

brew install node # macOS, with Homebrew
nvm install --lts # macOS or Linux, with nvm

Any release from 3.10 on works. Use a virtual environment per project.

Download an installer from python.org, or use a package manager:

brew install python@3.12 # macOS, with Homebrew
uv python install 3.12 # macOS or Linux, with uv

Then create a virtual environment with it:

python3.12 -m venv .venv
source .venv/bin/activate
python --version # Python 3.12.x

The first install downloads Artiwright’s dependencies from npm (and, for Python, from PyPI and then npm on first use). After that the Python package and an installed npm package work offline.

AI apps that start Artiwright with npx are different: npx asks npm for the latest version every time the app starts it. Without a connection, the server fails to start after about a minute. To work offline, install it once and use the artiwright command instead of npx -y artiwright@latest:

npm install -g artiwright

Behind a proxy, set your usual HTTPS_PROXY for npm and pip.

  1. Install Artiwright the way that fits your setup.
  2. Follow the Quickstart for your first deck.