# 使用 Homebrew, Nix 安装 git-remote-codecommit

查看 git-remote-codecommit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:git-remote-codecommit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-remote-codecommit
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-remote-codecommit
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/git-remote-codecommit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:git-remote-codecommit
- **软件包管理器:** Homebrew
- **版本:** 1.17
- **来源摘要:** Git Remote Helper to interact with AWS CodeCommit
- **主页:** <https://github.com/aws/git-remote-codecommit>
- **仓库:** <https://github.com/aws/git-remote-codecommit>
- **最后更新:** 2026-05-13T10:41:53Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-remote-codecommit (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.17
## 项目历史与用法

git-remote-codecommit is Amazon Web Services' Git remote helper for AWS CodeCommit, adding codecommit:// URL handling so Git can push to and pull from CodeCommit repositories through AWS credential profiles.

### 项目历史

The repository began in March 2018 with AWS template files and README setup instructions. Tagged releases began with 1.0 in January 2020, and the package metadata identifies Amazon Web Services as the author with an Apache-2.0 license and a Python console entry point named git-remote-codecommit.

The README and AWS User Guide position the helper as a way to avoid separate Git credential setup, especially for federated access, temporary credentials, root-account access, IAM Identity Center, and IAM users configured through the AWS CLI.

### 采用历史

The helper matters because CodeCommit used AWS IAM rather than the username/password or SSH-key flows common on public Git forges. Official AWS documentation recommends git-remote-codecommit for federated, identity-provider, and temporary-credential workflows, while package-manager metadata shows Homebrew and Nix distribution beyond pip.

### 使用方式

Practitioners configure AWS CLI profiles in ~/.aws/config and ~/.aws/credentials, install the Python package, then clone repositories with URLs such as codecommit://profile@RepositoryName or codecommit::region://profile@RepositoryName. Git invokes the remote helper through its remote-helper mechanism when it sees that URL scheme.

The tool is used in developer workstations, CI jobs, and temporary-credential environments where CodeCommit access needs to follow AWS IAM role or profile resolution rather than static Git credentials.

### 为什么软件包爱好者会关心

git-remote-codecommit is a vendor-maintained example of Git's remote-helper extension model packaged as a Python console script and redistributed by OS package managers. It bridges Git's transport abstraction with AWS's credential chain, making it significant to users who care about package-managed integrations between generic developer tools and cloud identity systems.

### 时间线

- 2018: Repository initialized by AWS.
- 2020: 1.0 tag published.
- 2020: 1.15.1 tag published after early 1.x releases.
- 2021: 1.16 tag published.
- 2023: 1.17 tag published.

### Related projects

- AWS CodeCommit is the hosted Git service the helper connects to.
- AWS CLI and botocore provide credential and region resolution for the helper.
- Git's remote-helper protocol is the extension point that makes the codecommit:// URL scheme work.

### 来源

- <https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html>
- <https://github.com/aws/git-remote-codecommit>
- <https://github.com/aws/git-remote-codecommit#readme>
- <https://pypi.org/project/git-remote-codecommit/>


## 安全说明

没有找到 git-remote-codecommit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.aws/config

## Credential files

- Unix: ~/.aws/credentials
## 其他软件包管理器记录

- Nix - git-remote-codecommit: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-remote-codecommit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/git-remote-codecommit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-remote-codecommit.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
