Prerequisites
Before installing Max, make sure you have the following:- Node.js v18 or later — nodejs.org
- npm — included with Node.js
- GitHub Copilot CLI — installed and authenticated
The installer checks for Node.js and the Copilot CLI automatically and will warn you if either is missing.
Install the Copilot CLI
If you don’t have the Copilot CLI installed yet:Install Max
There are two ways to install Max. The curl script is preferred — it checks your prerequisites and runs first-time setup automatically.What the curl installer does
Theinstall.sh script runs the following steps:
- Checks that Node.js v18+ is installed
- Checks that npm is installed
- Checks for the Copilot CLI (warns if missing, does not block)
- Checks for
gogcli(optional — enables Gmail, Calendar, Drive) - Runs
npm install -g heymaxto install themaxcommand - Launches
max setupto walk you through first-time configuration
First-time setup
The setup wizard creates~/.max/ and walks you through configuration:
- Telegram (optional) — provide your bot token and Telegram user ID to enable remote control from your phone
- Google services (optional) — configure
gogclifor Gmail, Calendar, and Drive access - Default model — choose from the models available on your Copilot subscription
~/.max/.env. You can re-run max setup at any time to change them.
Optional dependencies
Telegram (remote access from your phone)
Telegram (remote access from your phone)
Telegram lets you send messages to Max from your phone and receive notifications when background tasks finish.To set it up, you need:
- A Telegram bot token from @BotFather
- Your Telegram user ID (get it from @userinfobot)
max setup and answer yes when prompted for Telegram configuration.gogcli (Google services)
gogcli (Google services)
The Then configure it through
gogcli tool enables a bundled skill that gives Max access to Gmail, Google Calendar, and Google Drive.Install it with Homebrew:max setup → Google services, or follow the Google services guide.Verify the installation
Confirm Max is installed correctly:Quickstart
Start the daemon and send your first message.
Configuration
Learn about all available configuration options.