CLI (Command Line Interface)
Last updated
Last updated
You cannot run multiple instances of the Datagram CLI on the same machine simultaneously (e.g., Linux CLI and Windows GUI together). Doing so may cause unexpected errors.
Always ensure you are running the of the CLI.
You can download the latest Datagram CLI binary from the official releases page:
Replace <target-platform> with your specific OS and architecture. Currently supported values include
aarch64-apple-darwin – for Apple Silicon (M-series Macs)
x86_64-apple-darwin – for Intel-based Macs
x86_64-linux – for Linux systems
Example commands for Linux/macOS:
During the Alpha Testnet, a free Full Core Node License is automatically provided to every newly created account. For more details, see the .
Run the CLI with your full core license key as follows:
Replace <fullcore-license-key> with your actual license string.
Get your partner license from the Datagram License Portal. Partner licenses support running multiple nodes under one license and distributing rewards to the license owner.
Follow the steps below to request a Partner License:
Step 2: Navigate to the “Wallet” section from the left sidebar, then click on the “Licenses” tab at the top of the screen.
Step 3: Click the Request partner license button located in the upper-right corner of the screen.
Step 4: In the pop-up window titled "Request Partner Core License," enter the Project Name (e.g., NodeSync) and click the Confirm button.
Step 6: Once submitted, your license request will appear in the Licenses table with the status marked as "Requested."
The partner key uses a multikey format with key-value pairs:
Key parameters include:
secret (required): Partner license string.
id (required): External ID for tracking within your system.
address (optional): Reward recipient address; defaults to the license owner's address if not provided.
Example command:
Replace placeholders with your actual values.
You can run the Datagram node inside a Docker container using the provided Dockerfile entrypoint.sh
and run.sh
scripts.
entrypoint.sh
)run.sh
)Since this is a CLI binary or Docker container, uninstalling typically involves removing the binary file or stopping/removing the container. If you used manual installation steps, simply delete the binary file:
For Docker, remove images and containers as usual.
To update, download the latest release from the releases page and replace your existing binary. If using Docker, rebuild the Docker image using the latest Dockerfile
and run.sh
.
Always verify your license key and environment variables before starting the node.
For partner nodes, ensure your external ID and reward address are correctly set.
Docker usage allows easier environment isolation and management, but requires Docker to be installed and configured.
Step 1: Navigate to the and log in to your account.