# Install lab with Homebrew, apk, MacPorts, Nix, scoop

Git wrapper for GitLab. Version 0.25.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:lab
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lab
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lab
```

  Evidence: MacPorts ports tree: devel/lab/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lab
```

  Evidence: Alpine Linux edge package indexes: lab from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#lab
```

  Evidence: nixpkgs package indexes: pkgs/by-name/la/lab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/lab
```

  Evidence: Scoop official bucket manifest trees: bucket/lab.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:lab
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lab>
- **Version:** 0.25.1
- **Source summary:** Git wrapper for GitLab
- **Homepage:** <https://zaquestion.github.io/lab>
- **Repository:** <https://github.com/zaquestion/lab>
- **Upstream docs:** <https://zaquestion.github.io/lab>
- **License:** CC0-1.0
- **Source archive:** <https://github.com/zaquestion/lab/archive/refs/tags/v0.25.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lab (cli)
- lab (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.25.1
- Local data: ok
- Upstream repository: https://github.com/zaquestion/lab
- Upstream latest detected: v0.25.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Lab is a community GitLab command-line tool that wraps Git and GitLab API workflows. It focuses on merge requests, issues, milestones, snippets, CI pipelines, repository cloning, and forking from the terminal.

Its appeal was giving GitLab users a hub-like workflow before the GitLab-owned `glab` CLI became the obvious official comparison point.

### Project history

The project presents itself as `git + GitLab`: a Go command-line utility designed to make GitLab repository work feel close to normal Git usage. The README emphasizes a simple interface for GitLab API commands and WebUI-like messages and errors.

Lab originally described itself as wrapping Git or Hub, but later release notes document removal of hub support and references to `glab`, showing the project adjusting as GitLab CLI tooling matured around it.

### Adoption history

Lab spread through developer package managers such as Homebrew, Nix, Scoop, Alpine, and MacPorts because it solved a practical terminal gap for GitLab users: creating and reviewing merge requests, issues, and CI state without switching to the browser.

Its GitHub repository retained a modest but real community footprint, with more than a thousand stars and release artifacts for multiple platforms on the public release page.

### How it is used

Users configure GitLab host and token details in lab.toml files, with user, worktree, and local-project locations. Commands can be run directly as `lab` or wired into Git aliases such as `git lab mr list`.

Common workflows include cloning GitLab repositories, creating or listing merge requests, working with issues, viewing CI pipelines and jobs, and browsing project resources from the terminal.

### Why package nerds care

Lab is useful package-manager history because it captures a period when Git hosting sites had uneven first-party CLI support. GitHub had hub and later gh; GitLab users often reached for community tools like lab before GitLab's own glab project became prominent.

The package also shows how CLI tools track hosted-service APIs: a small local binary becomes valuable only when it keeps up with merge-request, issue, token, and CI behavior on a remote platform.

### Timeline

- Pre-2022: Lab established itself as a community GitLab CLI distributed through multiple package managers.
- 2021: Release notes for v0.20.0 referenced glab and tracked GitLab workflow fixes.
- 2021: Release notes for v0.21.0 documented dropping hub support.
- 2022: The GitLab-owned glab project was created on GitLab on March 21.
- 2022: Lab v0.25.x releases focused on merge-request lookup and Homebrew-related fixes.

### Related projects

- GitLab's `glab` is the closest related project and became the official GitLab CLI line.
- GitHub's `hub` is historically relevant because Lab described itself as wrapping Git or Hub and later removed hub support.
- python-gitlab and go-gitlab are adjacent API-client ecosystems used by GitLab automation tools.

### Sources

- <https://github.com/zaquestion/lab>
- <https://github.com/zaquestion/lab/releases>
- <https://gitlab.com/gitlab-org/cli>
- <https://raw.githubusercontent.com/zaquestion/lab/master/README.md>
- <https://zaquestion.github.io/lab/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ./lab.toml, ~/.config/lab/lab.toml, .git/lab/lab.toml

## Credential files

- Unix: ./lab.toml, ~/.config/lab/lab.toml, .git/lab/lab.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lab
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - lab: normalized package name match | nixpkgs package indexes: pkgs/by-name/la/lab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lab - 0.25.1-r36: normalized package name match | Alpine Linux edge package indexes: lab from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Git Wrapper for GitLab | https://zaquestion.github.io/lab/
- apk - lab-bash-completion - 0.25.1-r36: normalized package name match | Alpine Linux edge package indexes: lab-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for lab | https://zaquestion.github.io/lab/
- apk - lab-fish-completion - 0.25.1-r36: normalized package name match | Alpine Linux edge package indexes: lab-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for lab | https://zaquestion.github.io/lab/
- apk - lab-zsh-completion - 0.25.1-r36: normalized package name match | Alpine Linux edge package indexes: lab-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for lab | https://zaquestion.github.io/lab/
- MacPorts - lab: normalized package name match | MacPorts ports tree: devel/lab/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/lab: normalized package name match | Scoop official bucket manifest trees: bucket/lab.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, gitlab, version-control.
- [gut](https://www.automicvault.com/pkg/brew/gut/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://www.automicvault.com/pkg/brew/lazygit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [ungit](https://www.automicvault.com/pkg/brew/ungit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [ggc](https://www.automicvault.com/pkg/brew/ggc/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-spice](https://www.automicvault.com/pkg/brew/git-spice/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.
- [gitbackup](https://www.automicvault.com/pkg/brew/gitbackup/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/lab.yml](https://github.com/automic-vault/db/blob/main/combined/lab.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
