Get started
Prerequisites
What to install before Artiwright, on macOS, Windows and Linux, and how to check it.
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.
Check what you have
Section titled “Check what you have”Open a terminal (on Windows, PowerShell) and run:
node --version # v22.0.0 or newernpm --versionpython3 --version # Python 3.10 or newernode --version # v22.0.0 or newernpm --versionpy --version # Python 3.10 or newerInstall Node.js
Section titled “Install Node.js”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 Homebrewnvm install --lts # macOS or Linux, with nvmDownload the LTS installer from nodejs.org, or use winget:
winget install OpenJS.NodeJS.LTSOpen a new terminal afterwards so node and npm are on your PATH.
Install Python
Section titled “Install Python”Any release from 3.10 on works. Use a virtual environment per project.
Download an installer from python.org, or use a package manager:
uv python install 3.12 # macOS or Linux, with uvThen create a virtual environment with it:
python3.12 -m venv .venvsource .venv/bin/activatepython --version # Python 3.12.xDownload an installer from python.org, or use winget:
winget install Python.Python.3.12Then create a virtual environment with it:
py -3.12 -m venv .venv.venv\Scripts\Activate.ps1python --version # Python 3.12.xNetwork
Section titled “Network”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 artiwrightBehind a proxy, set your usual HTTPS_PROXY for npm and pip.
- Install Artiwright the way that fits your setup.
- Follow the Quickstart for your first deck.