Installations
In this lesson, you get your computer ready. You install the tools that NanoClaw needs: Git, Docker and Codex. In the next lesson, you use them to set up NanoClaw.
Pre-requisites
- A free Telegram account. If you don't have one, sign up at https://telegram.org/.
- A free Notion account. If you don't have one, sign up at https://www.notion.so/.
- Administrator access to your computer.
- At least a ChatGPT Plus subscription (~$30/month version).
- Optional: a Claude Pro plan or higher, if you want to use Claude Code as your helper when you set up NanoClaw.
- A computer that can run Docker, with at least 8 GB of memory:
- Mac: macOS 14 (Sonoma) or newer.
- Windows: Windows 11, or Windows 10 version 22H2. Microsoft stopped supporting Windows 10 in October 2025, so Windows 11 is best.
- Linux: Ubuntu 22.04, 24.04 or 26.04.
- Git and Docker. You install them in Step 2 and Step 3 below.
Installation steps
Some steps are different on macOS, Windows and Linux. Those steps have one section for each. Click the name of your computer's system to open its section.
Step 1: Open a terminal
A terminal is a window where you type commands for your computer. You use it for most of this course.
macOS
- Press Command (⌘) and Space together. This opens Spotlight search.
- Type
Terminaland press Return.
A window opens. This is where you type commands.
Windows
NanoClaw can't run on Windows by itself. It runs inside WSL, a part of Windows that runs Linux. You install WSL once. After that, you type every command in this course into its Ubuntu terminal.
Click Start and type
PowerShell. Right-click Windows PowerShell and choose Run as administrator. Click Yes.Type this command and press Enter:
powershellwsl --installWindows downloads WSL and Ubuntu. This takes a few minutes.
If the command only shows a help text, WSL is already on your computer. Run
wsl --install -d Ubuntuinstead.Restart your computer.
Click Start, type
Ubuntu, and open it.Ubuntu asks you to make a username and a password. They don't need to match your Windows ones. While you type the password, nothing shows on the screen. That is normal. Remember this password: Ubuntu asks for it when you install things.
Update Ubuntu with this command:
bashsudo apt update && sudo apt upgrade -ysudomeans "run this as an administrator", so Ubuntu asks for the password you just made.
From now on, "open a terminal" means: click Start, type Ubuntu, and open it. Type the commands in this course there, not in PowerShell.
Linux
Press Ctrl, Alt and T together. A terminal window opens.
If nothing happens, open your list of apps and search for Terminal.
Step 2: Install Git
Git keeps the history of a project's files. You use it to download NanoClaw in the next lesson.
The same command also installs jq, a small tool that NanoClaw's setup uses to check your Telegram bot.
macOS
On a Mac, you install Git with Homebrew. NanoClaw's setup uses Homebrew too.
Copy this command into the terminal and press Return:
bash/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Type your Mac password when it asks, and press Return. Nothing shows while you type. That is normal.
Press Return again to start. Homebrew also installs Apple's Command Line Tools. This can take 5 to 10 minutes.
At the end, Homebrew may show Next steps with a few commands. Copy those commands into the terminal and press Return.
Install Git and jq:
bashbrew install git jq
Windows
Git goes inside Ubuntu, not on Windows itself. You don't need "Git for Windows".
In the Ubuntu terminal, run:
sudo apt update && sudo apt install -y git curl jqType your Ubuntu password if it asks. Ubuntu usually has Git already. The command then just makes sure it's up to date.
Linux
On Ubuntu or Debian, run:
sudo apt update && sudo apt install -y git curl jqOn Fedora, run:
sudo dnf install -y git curl jqType your password if it asks.
To check that Git works, run:
git --versionYou should see a line like git version 2.55.0. Your number may be different.
Step 3: Install Docker
NanoClaw runs your agent inside Docker. Docker puts the agent in a closed box, called a container, so the agent can't touch the rest of your computer.
macOS
On a Mac, you can use OrbStack or Docker Desktop. Both give you the docker command that NanoClaw needs. You only need one of them.
Recommended: OrbStack. OrbStack is smaller and lighter than Docker Desktop, so your Mac stays fast. It is free for personal use. If you use it for work, your company needs a paid licence.
Install OrbStack with Homebrew:
bashbrew install orbstackOpen OrbStack from your Applications folder.
If OrbStack asks what you want to use it for, choose Docker. If it asks for your Mac password, type it. OrbStack needs it to set up the
dockercommand.
NanoClaw needs OrbStack to be running. Open OrbStack before you use NanoClaw.
Or: Docker Desktop. Docker Desktop is free for personal use, education, and small businesses.
Install Docker Desktop with Homebrew:
bashbrew install --cask docker-desktopType your Mac password if it asks.
Open Docker from your Applications folder.
Read the Docker Subscription Service Agreement and click Accept.
Choose Use recommended settings and click Finish. Type your Mac password if it asks.
You don't need a Docker account. If Docker asks you to sign in, you can skip it.
Wait until Docker Desktop says that Docker is running. A whale icon appears in the menu bar at the top of the screen.
NanoClaw needs Docker Desktop to be running. To start it every time you turn on your Mac, open Docker Desktop's Settings, then General, and turn on Start Docker Desktop when you sign in to your computer.
Windows
On Windows, you install Docker Desktop on Windows itself. It then gives Ubuntu a docker command. Don't install Docker inside Ubuntu.
- Go to https://docs.docker.com/desktop/setup/install/windows-install/ and download Docker Desktop for Windows. Most computers need the x86_64 version.
- Open the file you downloaded,
Docker Desktop Installer.exe. - Keep Use WSL 2 instead of Hyper-V ticked. Follow the steps, then click Close.
- Click Start, type
Docker Desktop, and open it. Read the Docker Subscription Service Agreement and click Accept. Docker Desktop is free for personal use, education, and small businesses. - You don't need a Docker account. If Docker asks you to sign in, you can skip it.
- In Docker Desktop, open Settings (the gear icon), then Resources, then WSL integration. Turn on Ubuntu and click Apply.
- Close the Ubuntu terminal and open it again, so that it finds Docker.
NanoClaw needs Docker Desktop to be running. To start it every time you turn on your computer, open Docker Desktop's Settings, then General, and turn on Start Docker Desktop when you sign in to your computer.
Linux
Download and run Docker's install script:
bashcurl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.shThis installs Docker Engine and starts it. It takes a few minutes.
Let your user run Docker without typing
sudoevery time:bashsudo usermod -aG docker $USERThis gives your user full control of Docker, like an administrator. Only do this on your own computer.
Log out of your computer and log in again, so that the change takes effect. Then open a new terminal.
To check that Docker works, run:
docker run hello-worldDocker downloads a tiny test program and runs it. You should see Hello from Docker!.
If you see Cannot connect to the Docker daemon, Docker isn't running. On a Mac, open OrbStack or Docker Desktop. On Windows, open Docker Desktop and wait until it's running. On Linux, log out and log in again.
Step 4: Install Codex
Codex is OpenAI's AI helper. NanoClaw's setup needs it to connect your agent to your ChatGPT account. You also use Codex later in this course, to change your agent.
The command is the same on macOS, Windows (in Ubuntu) and Linux:
curl -fsSL https://chatgpt.com/codex/install.sh | shAt the end, it says Codex CLI … installed successfully. Close the terminal and open a new one, so that it finds Codex.
Then start Codex and sign in:
codex- Choose Sign in with ChatGPT. Your browser opens.
- Sign in to your ChatGPT account, then go back to the terminal. If no browser opens, copy the link that Codex shows into your browser.
- Type
/quitand press Enter to leave Codex.
Next
Your computer is ready. Next, set up NanoClaw in Setting up NanoClaw.