The official CLI tool to manage your Amplitude projects, local resources, and licenses.
- Rust (Edition 2024, requires Rust 1.85+) - Install via rustup
- Amplitude Audio SDK - Required at build time for FlatBuffer schema code generation
- Clone from: https://github.com/AmplitudeAudio/sdk
- Set the
AM_SDK_PATHenvironment variable to point to the SDK root directory
# Clone the repository and the Amplitude SDK
git clone https://github.com/AmplitudeAudio/cli.git
git clone https://github.com/AmplitudeAudio/sdk.git
# Set AM_SDK_PATH to the absolute path of the cloned SDK
export AM_SDK_PATH="$(pwd)/sdk"
# Build and test
cd cli
cargo build
cargo test# Clone the repository and the Amplitude SDK
git clone https://github.com/AmplitudeAudio/cli.git
git clone https://github.com/AmplitudeAudio/sdk.git
# Set AM_SDK_PATH to the absolute path of the cloned SDK
$env:AM_SDK_PATH = (Resolve-Path sdk).Path
# Build and test
cd cli
cargo build
cargo testcargo fmt # Format code
cargo clippy # Run linter
cargo test # Run all tests
cargo run -- --verbose # Run with debug logging
cargo run -- --help # Show available commandsTests use priority tags (P0 = critical, P1 = high, P2 = medium, P3 = low) for selective execution during local development:
cargo test p0 # Critical tests only (fastest)
cargo test p1 # High priority tests