# 使用 Homebrew, Nix 安装 git-workspace

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

## 安装

```sh
sudo av install brew:git-workspace
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-workspace
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-workspace
```

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

## 软件包事实

- **软件包键:** brew:git-workspace
- **软件包管理器:** Homebrew
- **版本:** 1.10.1
- **来源摘要:** Sync personal and work git repositories from multiple providers
- **主页:** <https://github.com/orf/git-workspace>
- **仓库:** <https://github.com/orf/git-workspace>
- **最后更新:** 2026-06-22T14:03:32-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-workspace (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

git-workspace is a Rust Git extension for syncing a local projects directory with repositories from GitHub, GitLab.com, self-hosted GitLab, self-hosted GitHub, and Gitea.

### 项目历史

Tom Forbes created the git-workspace repository in July 2019. The README presents the tool as a response to the repeated work of browsing a provider, copying clone URLs, and choosing local paths for many repositories.

The project matured from a personal Rust utility into a cross-platform repository-fleet tool. Its releases added packaged binaries across operating systems, while the README documents provider configuration, archiving, fetching, listing, and shell integration.

### 采用历史

git-workspace is distributed through Homebrew, Nix, AUR, GitHub release binaries, and Cargo. That packaging spread reflects its audience: developers with many personal and work repositories who want one local workspace layout across providers.

### 使用方式

Practitioners set GIT_WORKSPACE to the managed directory, add providers with git workspace add, store provider rules in workspace*.toml files, and export GitHub or GitLab tokens for API access. Daily use centers on update, fetch, list, archive, run, and switch-and-pull.

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

The tool is significant in the Git-extension ecosystem because it treats repository layout itself as state to reconcile. It sits between a simple clone script and a full developer-environment manager.

### 时间线

- 2019: Repository created.
- 2022: v1.0.0 release provided packaged binaries.
- 2024: v1.5.0 release continued the cross-platform release line.

### Related projects

- GitHub GraphQL API, GitLab API, Gitea, fzf, Homebrew, Nix, AUR

### 来源

- <https://crates.io/crates/git-workspace>
- <https://formulae.brew.sh/formula/git-workspace>
- <https://github.com/orf/git-workspace>
- <https://github.com/orf/git-workspace/releases>
- <https://raw.githubusercontent.com/orf/git-workspace/master/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: $GIT_WORKSPACE/workspace*.toml
## 其他软件包管理器记录

- Nix - git-workspace: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-workspace/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-workspace.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-workspace.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
