Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, scoop 安装 lab

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lab

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lab

MacPorts ports tree · devel/lab/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add lab

Alpine Linux edge package indexes · lab · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#lab

nixpkgs package indexes · pkgs/by-name/la/lab/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/lab

Scoop official bucket manifest trees · bucket/lab.json · 来源: api.github.com

概览

软件包摘要

Git wrapper for GitLab

命令和别名

  • lab

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
./lab.toml~/.config/lab/lab.toml.git/lab/lab.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
./lab.toml~/.config/lab/lab.toml.git/lab/lab.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
labcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.25.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.25.1

https://github.com/zaquestion/lab

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:lab
版本0.25.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lab
主页https://zaquestion.github.io/lab
仓库https://github.com/zaquestion/lab
上游文档https://zaquestion.github.io/lab
许可证CC0-1.0
源码归档https://github.com/zaquestion/lab/archive/refs/tags/v0.25.1.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelab
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

lab

nix profile install nixpkgs#lab
  • normalized package name match
  • 匹配方式:Lab
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/la/lab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

lab 0.25.1-r36

Git Wrapper for GitLab

https://zaquestion.github.io/lab/

sudo apk add lab
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: lab
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lab from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lab-bash-completion 0.25.1-r36

Bash completions for lab

https://zaquestion.github.io/lab/

sudo apk add lab-bash-completion
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: lab
  • normalized package name match
  • 匹配方式:Lab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lab-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lab-fish-completion 0.25.1-r36

Fish completions for lab

https://zaquestion.github.io/lab/

sudo apk add lab-fish-completion
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: lab
  • normalized package name match
  • 匹配方式:Lab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lab-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lab-zsh-completion 0.25.1-r36

Zsh completions for lab

https://zaquestion.github.io/lab/

sudo apk add lab-zsh-completion
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: lab
  • normalized package name match
  • 匹配方式:Lab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lab-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

lab

sudo port install lab
  • normalized package name match
  • 匹配方式:Lab
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/lab/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/lab

scoop install main/lab
  • normalized package name match
  • 匹配方式:Lab
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lab.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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