Skip to main content

Command line

Run your domains, aliases and sending from a terminal or a script. The command line does what the dashboard does, and an AI assistant can use it for you.

Download

SHA-256 checksums of every file

Install

On a Mac, download the file and its checksums, check the file, then move it to a folder on your PATH:

curl -fLO https://downloads.mailyoto.com/cli/latest/mailyoto-darwin-arm64
curl -fLO https://downloads.mailyoto.com/cli/latest/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing
chmod +x mailyoto-darwin-arm64
sudo mv mailyoto-darwin-arm64 /usr/local/bin/mailyoto

On an Intel Mac, use mailyoto-darwin-amd64. A file downloaded with curl runs at once. A file downloaded in a browser is blocked the first time it runs, because Apple hasn't checked it; allow it under System Settings > Privacy & Security.

On Linux, the steps are the same with sha256sum. On an ARM computer, use mailyoto-linux-arm64:

curl -fLO https://downloads.mailyoto.com/cli/latest/mailyoto-linux-amd64
curl -fLO https://downloads.mailyoto.com/cli/latest/SHA256SUMS
sha256sum -c SHA256SUMS --ignore-missing
chmod +x mailyoto-linux-amd64
sudo mv mailyoto-linux-amd64 /usr/local/bin/mailyoto

On Windows, download mailyoto-windows-amd64.exe and SHA256SUMS. Run this command and compare the checksum it prints with the file's line in SHA256SUMS:

certutil -hashfile mailyoto-windows-amd64.exe SHA256

Then rename the file to mailyoto.exe and move it to a folder on your PATH.

First steps

Create an API key on the Account page of the dashboard, then save it. The command line checks the key with Mailyoto, then keeps it in a file only you can read.

Create an API key

mailyoto key save

Then list your domains, and see every command:

mailyoto overview
mailyoto --help

Use it from an AI assistant

Claude and other AI assistants can use the command line for you: list your domains, change aliases, read your logs and send email. Before deleting, pausing or sending, the assistant asks you.

What an AI assistant can do

Connect an AI assistant