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 | bashThis will:
- Download the
mycobinary for your platform - Add it to your
PATH(in~/.zshrcor~/.bashrc) - 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 --versionYou 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 ~/.bashrcOr 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