Terminal quickstart
The masko command signs in to your Masko account and calls the Studio API. It runs on macOS 14 or later, on Apple Silicon. It does not show mascots on screen. To float a mascot on your Mac, see Float a mascot on your Mac.
Install
curl -fsSL https://releases.masko.ai/cli/install.sh | shThis installs the signed, notarized CLI at ~/.local/bin/masko, with versioned builds in ~/.masko/versions/. No Xcode, Node.js or checkout is needed. If asked to add Masko to your PATH, add this line to your shell profile:
export PATH="$HOME/.local/bin:$PATH"To install with analytics off, put the variable on the right side of the pipe:
curl -fsSL https://releases.masko.ai/cli/install.sh | MASKO_TELEMETRY_DISABLED=1 shMASKO_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1 also disables reporting for one process.
Sign in and check your account
masko login
masko whoami
masko creditslogin prints a URL, opens your browser, and returns after you approve. Choose your account and workspace in the browser. Over SSH or on a remote machine, use masko login --device --no-browser. logout signs out of the saved login.
Call the Studio API
masko studio GET mascots --json
masko studio GET 'canvases?project_id=PROJECT_ID' --json
masko studio POST canvases --file canvas.json --jsonPaths start with mascots, canvases, projects, jobs, assets or upload. Request bodies match the Core OpenAPI. See the studio migration guide for current route names.
Download assets
masko assets show ASSET_ID --json
masko assets download ASSET_ID --output image.pngDownloads never overwrite an existing file.
Update or choose a version
Run the install command again for the latest version. Your sign-in is kept. To install a specific version:
curl -fsSL https://releases.masko.ai/cli/install.sh | MASKO_VERSION=0.1.0 sh
masko --versionNext steps
- Command line reference: every command and option.
- Quickstart: create your own mascot and its animations with the REST API.
- Float a mascot on your Mac: Masko Desktop shows your mascots.
- TypeScript SDK: call the Studio API from Node.js or Electron main.
