CommitAI

Installation

Install CommitAI globally and start generating clean commit messages instantly.

Requirements

  • • Node.js 18 or later
  • • Git installed
  • • macOS, Linux, or Windows supported

Install the CLI

npm install -g @rohaavi/commitai

This installs CommitAI globally so the commitai command can be used in any repository.

Verify Installation

commitai --version

If you see a version number, your installation is working.

CommitAI needs Git installed because it reads your staged changes using git diff.