# Nodana CLI `nod` is a CLI tool for managing projects and apps on [Nodana](https://nodana.io). ## Install ```bash curl -fsSL https://nodana.io/cli | sh ``` ## Build From Source Prerequisites: - Rust toolchain - Cargo Build the binary: ```bash cargo build --release ``` Run it locally during development: ```bash cargo run -- project list ``` ## Authentication Create an API key from the tokens section on the Nodana website, then set it as an environment variable: ```bash export NODANA_API_KEY="" ``` If you want the env var to be persistent, add it to your shell profile. ```bash echo "export NODANA_API_KEY=" >> ~/.zshrc ``` `nod` reads `NODANA_API_KEY` for API commands. If it is missing, the CLI exits with an error. ## Command Shape The CLI uses: - positional arguments for primary identifiers like app IDs and project IDs - named flags for configurable values like `--name` and `--auto-liquidity` Examples: ```bash nod project get prj-123 nod project create --name my-project nod project update prj-123 --name new-name nod app get app-123 nod app create phoenixd --project-id prj-123 --auto-liquidity 2m ``` ## Usage ### Projects ```bash nod project list nod project get nod project create --name nod project update --name nod project delete nod project apps ``` ### Apps ```bash nod app create