The canonical Nominal Rust SDK.
cargo add nominal#[tokio::main]
async fn main() -> anyhow::Result<()> {
let client = nominal::NominalClient::from_profile("test-profile")?;
let user = client.users().who_am_i().await?;
println!("{}", user.email());
Ok(())
}nomctl is the command-line interface for Nominal.
Install the latest release for your system on macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/nominal-io/nominal-client-rs/main/scripts/install.sh | shWindows (PowerShell):
irm https://raw.githubusercontent.com/nominal-io/nominal-client-rs/main/scripts/install.ps1 | iexOn macOS/Linux, add ~/.local/bin to your PATH. Windows updates your user PATH automatically.
Rerun to update, or install from source with cargo install nominal-cli --locked.
See the CLI README for configuration and usage.