Installation
Monoceros runs on macOS, Linux and Windows. On every system you need
Docker, which runs your workbenches. On macOS and Linux you also need
Node.js 20 or newer, because the monoceros CLI runs on it. On Windows
the installer brings its own Node, so you don’t install it yourself.
The install script checks for both. If one is missing, it prints the exact command for your system. So you can often just run the script and follow what it says. The steps below are for when you want to prepare your machine first.
-
Install Docker Desktop and start it. Colima and OrbStack work too.
Docker Desktop includes Docker Compose and Buildx. With Colima and the Homebrew Docker CLI, you install both yourself and link them into
~/.docker/cli-plugins. The install script checks this and prints the commands for your machine. -
Install Node.js 20 or newer if you don’t have it, for example with Homebrew:
Terminal window brew install node -
Install Monoceros:
Terminal window curl -fsSL https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.sh | bash
On a Linux desktop, Monoceros uses Docker Engine in rootful mode, not Docker Desktop.
-
Install Docker Engine and add yourself to the
dockergroup:Terminal window sudo -vcurl -fsSL https://get.docker.com | sudo shsudo usermod -aG docker $USERsudo -vasks for your password up front. Without it, a password prompt in the middle of a pasted block can swallow the next command. -
Install Node.js 20 or newer and npm. On Debian and Ubuntu, use NodeSource. The
nodejspackage of the distribution is usually too old:Terminal window curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt install -y nodejs npmFor other systems, or a version manager like fnm or nvm, see nodejs.org/en/download.
-
Install Monoceros:
Terminal window curl -fsSL https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.sh | bash
Windows
Section titled “Windows”The installer sets up its own WSL distro for Monoceros. You never install or configure a Linux distro yourself. You only need Docker:
-
Install Docker Desktop and start it:
Terminal window winget install Docker.DockerDesktop -
Install Monoceros in PowerShell. The script creates the
monocerosWSL distro, turns on Docker Desktop’s WSL integration for it and adds themonoceroscommand. It asks for admin rights once:Terminal window irm https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.ps1 | iex
Update
Section titled “Update”To update Monoceros, run the install command for your system again.
Do you still have a monoceros-config.yml from an older version? The install
script moves its settings into monoceros-config.env and tells you what moved.
See Workbench configuration.
Monoceros is installed. Now build your first workbench and put an agent to work.
To remove Monoceros again, see Uninstall.