Skip to Content
Getting StartedInstall the CLI

Install the CLI

Prerequisites

You need two things on your machine:

  • A terminal — Terminal.app on Mac, or any terminal on Linux
  • Node.js 18+ — Check with node --version. Install from nodejs.org  if needed.

Install

Run this in your terminal:

curl -fsSL https://api.myco.com/cli/install | bash

This will:

  1. Download the myco binary for your platform
  2. Add it to your PATH (in ~/.zshrc or ~/.bashrc)
  3. Start the authentication flow

The install script automatically detects macOS (arm64/amd64) and Linux (amd64). Windows is not currently supported — use WSL.

Verify

After installation, open a new terminal window and run:

myco --version

You should see output like myco version 0.1.9.

Troubleshooting

myco: command not found

The CLI was installed but your terminal hasn’t picked up the new PATH. Try:

source ~/.zshrc # or source ~/.bashrc

Or simply open a new terminal window.

Permission denied

If the install script fails with a permission error, try:

curl -fsSL https://api.myco.com/cli/install | sudo bash

Next step