Getting started
Install the RepoMind CLI, authenticate your account, and run your first AI-generated commit.
Your first commit in 5 minutes. This page takes you from zero to your first AI-assisted commit: install the RepoMind CLI, authenticate your account with a secure device code flow, and generate your first commit message from your diff — without leaving the terminal.
Installation
Install the CLI globally with your preferred package manager. Your choice is saved and persists as you browse the documentation.
npm install -g repomindbun add -g repomindpnpm add -g repomindAuthentication
The CLI uses a device code flow: you authorize access in the browser and the session comes back to the terminal. It takes three steps.
Run the login
In the terminal, run the login command. The CLI starts the device code flow.
repomind loginOpen the URL shown in the terminal
The CLI displays a 6-digit verification code and a URL. Open the URL in your browser, sign in to your RepoMind account, and enter the code to authorize this device.
Success confirmation
As soon as you authorize in the browser, the CLI displays the authentication
confirmation. The session is saved locally and stays active until you run
repomind logout.
First commit
With the CLI authenticated, generate your first commit from your staged changes.
Stage your changes
Use git add to stage the changes that will go into the commit. You can
add everything or just specific files.
git add .Generate the commit
Run the commit command. RepoMind reads the staged diff and generates a message following the Conventional Commits standard.
repomind commitReview and confirm
The CLI presents the generated message for you to review. Edit the text if
you want, or confirm so RepoMind runs git commit with the final message.