Skip to main content
The inframan CLI signs you in from your terminal and opens kubectl tunnels to your infrastructures. Most day-to-day work happens through git push, the console or an AI assistant, so the CLI is deliberately small.

Install

Check it worked with inframan version. The CLI tells you after any command when a newer version is available.

Sign in

Use the address of the console you sign in to. A browser window opens. On a machine without a browser, the CLI prints a link and asks you to paste back a code. Your credentials are saved in ~/.inframan/credentials.json, readable only by you. If your instance’s console runs in your own Google Cloud project, run inframan login without --url.

Commands

For an instance whose control plane runs in your own Google Cloud project, these also apply:
Cloud accounts are connected in the console, under Settings → Cloud accounts. See Connect a cloud account.