GitKraken Desktop

Overview

GitKraken CLI

Master Git, Simplify Everything: Right in the Terminal

GitKraken CLI is the developer tool that transforms how you interact with Git. Whether you’re managing multiple repositories or streamlining team workflows, GitKraken CLI puts unparalleled Git control at your fingertips.
winget install gitkraken.cli
Or download on GitHub
@GitKraken CLI is so incredibly helpful, even for a way-back Git user.
@vernetdehaven
Even if you’re a CLI user, the GitKraken CLI gives you a richer experience with autocomplete and many other features.
@rmjoia
#GitKraken rocks! Loving the CLI.
@arlvinm

Introducing Work Items

Work Items are a new way to think about and manage your dev workflow. Think of a Work Item as the self-contained scope of work that relates to a bug or feature. It can be for a single repo or multiple repos anywhere on your filesystem.

gk work start

Start with an issue or task and create a Work Item for it, add your repo(s), and start making your changes. The CLI will handle switching to main and creating a new branch for you.

gk work commit

Make commits across all the repositories you added to the Work Item with a single in command. You can even let AI generate the commit messages for you.

gk work pr create

Once you are done with your changes, push them up and use the CLI to create a Pull Request. AI can help here as well by generating the PR title and description based on the changes you made.

gk work end

When the PR is merged, wrap things up by ending your work item, all your selected repos will revert to their default branch, the temporary branches will be deleted, and you are ready to start another work item.

AI in Your Terminal

Carefully crafting commit messages and pull requests can be a chore. Let GitKraken CLI help you out with it using it’s simple commands.

Streamline Multi-Repo Workflows

Sometimes you have separate repos that are tied to each other. But what if you could treat them like a monorepo without some of the downsides? Luckily, GitKraken CLI makes this easy using the exact same Work Item flow.

Git Command Passthrough

Juggling CLI commands can be a hassle. The GitKraken CLI lets you use the same git commands with gk so you don’t have to even think about it.

Workspace Friendly

If you are already a GitKraken user and you have your workspaces set up how you like them, you can continue to use those to set up your work items. The integration between Work Items and Workspaces is seamless. If you are new to workspaces, think of a Workspace as a group of repositories. This could be a group of repos for an entire org, a specific team, or even just a collection of your open source projects.

CLI FAQs

GitKraken CLI is a terminal-based Git tool built for speed, clarity, and control. It adds visuals, automation, and AI-powered workflows to your command line, helping you work across multiple repos, write cleaner commits, and create pull requests faster. It’s Git with less grunt work and more flow.

A Work Item is a lifecycle-focused workflow for a task, bug, or feature that you start, work on, and end using the terminal. Created with gk work start < name >, it automates branch setup, checks for open items, and syncs all repos in your workspace. As you work, you can use AI to generate commit messages (gk work commit --ai) and pull requests (gk work pr create --ai( across multiple repos in parallel. When done, gk work end wraps it up by cleaning your workspace.
GitKraken CLI uses AI to take the busywork out of Git. It can auto-generate commit messages with gk work commit --ai, pulling context from your staged changes across repos. It can also draft pull request titles and descriptions with gk work pr create --ai. These features help standardize your history, speed up reviews, and keep your focus on actual coding.

Yes. GitKraken CLI supports direct integration with your AI agent through MCP (Model Context Protocol). With a simple install command, you can connect tools like Claude, Cursor, Windsurf, Zed, or VSCode. This allows your AI to manage Git tasks like pull requests, issues, and work items right from the terminal. No plugins, no browser juggling: just fast, local control.

GitKraken CLI, GitKraken Desktop, and GitLens all connect through your GitKraken account and share the same integrations and Workspaces. That means your context moves with you whether you’re in the terminal, a visual Git GUI, or inside VS Code. Use the CLI for speed, Desktop for visuals, and GitLens for deep code insights. 

Use GitKraken CLI for Free

Collaborate across repositories, unite on PRs & Issues from various platforms, 
and visualize Git data as a team whenever needed.
winget install gitkraken.cli
Or download on GitHub