--- title: CLI | micro description: The Micro command-line interface — call the API straight from your terminal and scripts. Install instructions and source repository. --- The `micro` CLI lets you call the [API](/api/index.md) straight from your terminal and scripts. Install a prebuilt binary from the latest release, or build it from source. ## Install - [Download a release](#tab-panel-0) - [Build from source](#tab-panel-1) Grab the binary for your platform from the [latest release](https://github.com/micro-so/micro-cli/releases/latest), then make it executable and put it on your `PATH`: Terminal window ``` chmod +x micro sudo mv micro /usr/local/bin/ ``` Terminal window ``` git clone https://github.com/micro-so/micro-cli.git cd micro-cli # follow the build steps in the repo's README ``` [micro-cli ](https://github.com/micro-so/micro-cli)github.com/micro-so/micro-cli — source, releases & usage. Tip The CLI reads your API key from the `MICRO_API_KEY` environment variable. See [Authentication](/guides/authentication/index.md) to create one.