{"id":20833858,"url":"https://github.com/gitkraken/gk-cli","last_synced_at":"2026-03-11T22:01:07.227Z","repository":{"id":153607650,"uuid":"605660707","full_name":"gitkraken/gk-cli","owner":"gitkraken","description":"GitKraken CLI Releases and Documentation","archived":false,"fork":false,"pushed_at":"2025-12-22T12:26:00.000Z","size":7338,"stargazers_count":352,"open_issues_count":14,"forks_count":275,"subscribers_count":18,"default_branch":"main","last_synced_at":"2026-01-20T08:25:29.223Z","etag":null,"topics":["cli","git","gitkraken","terminal"],"latest_commit_sha":null,"homepage":"https://www.gitkraken.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitkraken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-23T16:23:01.000Z","updated_at":"2026-01-18T23:30:32.000Z","dependencies_parsed_at":"2023-05-20T12:45:20.512Z","dependency_job_id":"2726d47f-240b-4740-9b0b-c41ac3c34da2","html_url":"https://github.com/gitkraken/gk-cli","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/gitkraken/gk-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitkraken%2Fgk-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitkraken%2Fgk-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitkraken%2Fgk-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitkraken%2Fgk-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitkraken","download_url":"https://codeload.github.com/gitkraken/gk-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitkraken%2Fgk-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30398202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T18:46:22.935Z","status":"ssl_error","status_checked_at":"2026-03-11T18:46:17.045Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","git","gitkraken","terminal"],"created_at":"2024-11-18T00:17:04.905Z","updated_at":"2026-03-11T22:01:07.186Z","avatar_url":"https://github.com/gitkraken.png","language":null,"readme":"# 🚀 GitKraken CLI\n\n`gk` is GitKraken on the command line. The core functionality is focused on \"Work Items\" which can be thought of as the feature or issue you are trying to tackle. This allows you to work with multiple repos at once and get the same UX as if you were in a monorepo. We also provide robust AI-powered commit messages and Pull Request generation. It also provides an MCP server that streamlines working with git and your Issue and git hosting providers.\n\nGitKraken CLI is available on macOS, Windows, and Unix systems.\n\n![](./images/cli-header-wide.png)\n\n## Table of Contents\n\n- [MCP Server](#mcp-server)\n- [Documentation](#documentation)\n- [Workflows](#workflows)\n- [`git` Command Passthrough](#git-command-passthrough)\n- [Installation](#installation)\n- [Troubleshooting](#troubleshooting)\n- [Support](#support)\n\n## MCP Server\n\nThe GitKraken MCP server is a local MCP server that is powerful and easy to use. It wraps git, GitHub, Jira MCP actions as well as provides tools to LLMs that work with GitKraken APIs and functionality. You can find specific installation instructions based on your chosen AI application in the [Help Center](https://help.gitkraken.com/cli/gk-cli-mcp/).\n\nIf you want to read more about the MCP server, you can check out the [introduction blog post](https://www.gitkraken.com/blog/introducing-gitkraken-mcp)\n\n## Documentation\n\n`gk help` is going to be your best source for exploring the CLI. But also see the [workflows](#workflows) below.\n\n```bash\nWelcome to GitKraken CLI, a premium CLI experience for managing multiple repositories with familiar GIT CLI commands\n\nUsage:\n  gk [flags]\n  gk [command]\n\nAUTHENTICATING\n  auth         Authenticate with the GitKraken platform\n  provider     Add or remove provider tokens\n\nCORE COMMANDS\n  graph        Display commit graph in current repository\n  issue        Manage your issues\n  organization Manage your Gitkraken organizations\n  work         Interact with your work.\n  workspace    Interact with your workspaces. Alias: 'ws'\n\nAdditional Commands:\n  help         Help about any command\n  setup        Display information about your current system configuration\n  version      Print the version number of GK CLI\n\nFlags:\n  -h, --help   help for gk\n\nUse \"gk [command] --help\" for more information about a command.\n```\n\n## Workflows\n\nStart with a single repo. You can add more later.\n\nIn general, your process will look like this:\n\n```bash\n\n# Authenticate\ngk auth login\n\n# Navigate to a git repo directory on your filesystem\ncd ./path/to/repo\n\n# Then create a Work Item and the current directory\n# will be automatically added to the Work Item\ngk work create \"My new work item\"\n\n# Edit files...\n# ...\n\n# Commit your changes using AI\ngk work commit --ai\n\n# Push your changes\ngk work push\n\n# Create a Pull Request\ngk work pr create --ai\n\n```\n\nOnce you have familiarized yourself with using a single repo, try out creating work items and generating commits and PRs for multiple repos at a time by just adding multiple repos to a new Work Item.\n\n```bash\n# Add a repo to the current work item\ngk work add ./path/to/repo # path could be as simple as \".\" if you are in the directory already\n```\n\n## `git` Command Passthrough\n\nYou can also use `gk` to pass through any `git` command. eg:\n\n```bash\ngk status\ngk remote -v\n# etc\n```\n\n## Installation\n\n### macOS\n\n`gk` is available from [Homebrew](https://formulae.brew.sh/cask/gitkraken-cli) with the following command:\n\nHomebrew:\n\n```bash\nbrew install gitkraken-cli\n```\n\nOr download it from the [releases page](https://github.com/gitkraken/gk-cli/releases) and add it to your binaries folder:\n\n```bash\nmv ~/Downloads/gk /usr/local/bin/gk\n```\n\n---\n\n### Unix / Ubuntu\n\n[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/gitkraken-cli)\n\n`gk` is available as a downloadable binary from the [releases page](https://github.com/gitkraken/gk-cli/releases). Once you have it, add it to your binaries folder:\n\n```bash\nmv ~/Downloads/gk /usr/local/bin/gk\n```\n\nOr create a new directory, move the binary and add it to $PATH:\n\n```bash\nmkdir \"$HOME/cli\"\nmv ~/Downloads/gk \"$HOME/cli\"\nexport PATH=\"$HOME/gk:$PATH\"\n```\n\nYou can also [download][releases page] your corresponding package (`.deb`, `.rpm`) and install it with:\n\n```bash\nsudo apt install ./gk.deb\n```\n\nor\n\n```bash\nsudo rpm -i ./gk.rpm\n```\n\n---\n\n### Windows\n\n`gk` is available from [Winget][winget] with the following command:\n\n```bash\nwinget install gitkraken.cli\n```\n\n## ⚙️ Configuration\n\n### Nerd Fonts\n\nThe GitKraken CLI supports Nerd Fonts to display icons for some commands. To ensure correct icon rendering, please obtain and install a Nerd Font available at https://www.nerdfonts.com/. After installation, set the selected Nerd Font as the default font for your terminal.\n\n## Troubleshooting\n\n### `gk login` freezes after authenticating in browser\n\nThis problem is due to the browser. Currently we know that Safari and Brave do not allow to respond to localhost through port 1314. To fix this, change your default browser or copy the URL before the redirect and open it in another browser.\n\n### gk from Oh-My-Zsh\n\nOh-My-Zsh has `gitk` aliased as `gk` and that can create some problems. To fix this, type in your terminal:\n\n```\nunalias gk\n```\n\n### Manual macOS Installation\n\nIf you install the CLI manually from the releases page on macOS, you will likely run into a security error that looks like this:\n\n![](./images/not-opened.png)\n\nTo fix this, go to Settings \u003e Security \u0026 Privacy \u003e General and click \"Allow Anyway\".\n\n![](./images/allow-anyway.png)\n\nTry running `gk setup` again and then click \"Open Anyway\" to continue.\n\n![](./images/open-anyway.png)\n","funding_links":[],"categories":["Developer Tools","Development Tools Mcp Servers","💻 \u003ca name=\"development-tools\"\u003e\u003c/a\u003eDevelopment Tools","📦 Other","サーバー実装","Official Servers","MCP Clients","MCP Servers \u0026 Protocol"],"sub_categories":["Version Control","🛠️ \u003ca name=\"developer-tools\"\u003e\u003c/a\u003e開発者ツール","CLI Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitkraken%2Fgk-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitkraken%2Fgk-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitkraken%2Fgk-cli/lists"}