Get the CLI
Contact the Atonom team for the binary that matches your operating system and processor. Follow the installation instructions supplied with your binary, then open a terminal and check:Install a standalone binary on macOS
If you received a standalone executable namedatonom, open a terminal in the folder containing it. Install it in your user’s bin directory:
export PATH="$HOME/.local/bin:$PATH" to your shell configuration (usually ~/.zshrc on macOS) to make the command available in new terminals. If macOS prevents the binary from opening, contact the Atonom team for installation assistance.
For other systems, use the instructions included with your supplied binary. To update, request the latest binary from the Atonom team, replace the installed executable, and check atonom --version again.
Create a script workspace
Use a separate directory for the Lua tools you are developing. Replace the example URL before running these commands:.atonom/config.toml. The nearest ancestor containing .atonom/ becomes the workspace root; scripts default to .atonom/scripts/ inside it. Run subsequent commands from this workspace or a directory beneath it.
Use a different workspace for each platform environment. Tool IDs and manifest hashes belong to the server from which they were obtained; changing base_url does not remap them.
Sign in
atonom login --no-browser and open the printed URL yourself. The CLI stores a rotating refresh token in the OS credential store and keeps access tokens in memory. On macOS, the credential store is Keychain.
status succeeds when the scripts API accepts your credentials. A successful response with zero scripts is valid. If you receive 401, 403, or 404, follow Troubleshooting.
For automation, inject an authorized token as ATONOM_TOKEN using your secret manager. Do not store it in your repository or paste it into an agent prompt. See Configuration & auth.
Connect the sandbox (optional)
The sandbox lets you test local Lua files witheval before saving them to Atonom. If sandbox access is included in your setup, use the sandbox URL and connection instructions supplied by the Atonom team. Replace the example URL below:
outcome.status to be DONE and outcome.value.ready to be true. Your Atonom URL and sandbox URL are separate settings; signing in does not automatically configure sandbox access.
Without sandbox access, you can still save and test tools through Atonom using push followed by run --no-save.
Next: Build your first Lua tool.
