# 使用 Homebrew, Nix 安装 labctl

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

## 安装

```sh
sudo av install brew:labctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install labctl
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#labctl
```

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

## 软件包事实

- **软件包键:** brew:labctl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/labctl>
- **版本:** 0.1.97
- **来源摘要:** CLI tool for interacting with iximiuz labs and playgrounds
- **主页:** <https://labs.iximiuz.com/playgrounds>
- **仓库:** <https://github.com/iximiuz/labctl>
- **上游文档:** <https://github.com/iximiuz/labctl#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/iximiuz/labctl/archive/refs/tags/v0.1.97.tar.gz>
- **最后更新:** 2026-07-06T10:07:37Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- labctl (cli)
- labctl (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.1.97
- 管理器更新时间: 2026-07-06
- 本地数据: OK
- 上游仓库: https://github.com/iximiuz/labctl
- 检测到的最新版本: v0.1.97 (当前)
## 项目历史与用法

labctl is the command-line client for iximiuz Labs, a hands-on learning platform for Linux, containers, Kubernetes, networking, and DevOps playgrounds. It starts, lists, stops, destroys, and connects to remote playground environments from a local terminal.

Its history is tightly coupled to iximiuz Labs rather than to a broad standalone ecosystem, so the package history is best understood as the CLI surface of a hosted microVM playground service.

### 项目历史

The labctl repository documents the tool as a way to start remote microVM playgrounds from the command line. The README lists Linux, Docker, Kubernetes, networking, and other DevOps playground types and describes those environments as ephemeral and disposable.

As the iximiuz Labs playground model evolved, labctl accumulated commands for browser opening, SSH access, IDE integration, public web terminals, HTTP exposure, port forwarding, and lifecycle management.

### 采用历史

Adoption is mostly iximiuz Labs users who prefer terminal access over a browser-only workflow. The README documents both the iximiuz install script and Homebrew installation on macOS and Linux, putting labctl into ordinary package-manager workflows despite its service-specific nature.

The public release page shows frequent 0.1.x releases, including additions for playground status, wait behavior, regions, IDE integration, and readiness handling.

### 使用方式

A typical workflow is `labctl auth login`, followed by `labctl playground start docker`, `labctl playground start k3s --open`, or `labctl ssh <playground-id>`. The CLI can also expose shell sessions, forward ports, open local IDEs, and destroy playgrounds when finished.

Credentials and SSH material are stored under the iximiuz labctl configuration and SSH paths documented in the package curation, which makes the Homebrew package both a CLI and a local session manager for remote training machines.

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

labctl is a useful example of a modern package-manager CLI whose main value is not local computation but authenticated orchestration of disposable remote environments. It turns a hosted learning product into scriptable terminal infrastructure.

For DevOps learners and authors, that means reproducible playgrounds can be launched, connected to, exposed, and torn down with commands rather than browser clicks.

### 时间线

- 2020s: iximiuz Labs popularized hands-on Linux, container, Kubernetes, and networking playgrounds.
- 2020s: labctl became the command-line access layer for starting and connecting to those playgrounds.
- 2025: The Playgrounds 2.0 write-up described labctl as an SSH access path for microVM-based playgrounds.
- 2026: v0.1.x releases added region, readiness, IDE, and playground lifecycle improvements.

### Related projects

- iximiuz Labs playgrounds are the hosted service labctl controls.
- Firecracker is relevant to the platform architecture because iximiuz Labs describes its playground machines as microVMs.
- VS Code Remote SSH, Cursor, Windsurf, and SSH tooling are adjacent user-facing integrations documented by labctl.

### 来源

- <https://github.com/iximiuz/labctl>
- <https://github.com/iximiuz/labctl/releases>
- <https://labs.iximiuz.com/playgrounds>
- <https://newsletter.iximiuz.com/posts/iximiuz-labs-playgrounds-2-0-dive-in>
- <https://raw.githubusercontent.com/iximiuz/labctl/main/README.md>


## 安全说明

没有找到 labctl 的匹配本地密钥处理 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: ~/.iximiuz/labctl/config.yaml

## Credential files

- Unix: ~/.iximiuz/labctl/config.yaml, ~/.ssh/iximiuz_labs_user
## 源数据库详情

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

## 其他软件包管理器记录

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


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [juju](https://www.automicvault.com/zh-hans/pkg/brew/juju/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [devspace](https://www.automicvault.com/zh-hans/pkg/brew/devspace/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, docker, kubernetes.
- [colima](https://www.automicvault.com/zh-hans/pkg/brew/colima/) - Shares av.db curated category or tags: cli, cloud-infrastructure, docker, kubernetes.
- [container-canary](https://www.automicvault.com/zh-hans/pkg/brew/container-canary/) - Shares av.db curated category or tags: cli, cloud-infrastructure, docker, kubernetes.
- [dcp](https://www.automicvault.com/zh-hans/pkg/brew/dcp/) - Shares av.db curated category or tags: cli, cloud-infrastructure, docker, kubernetes.
- [havener](https://www.automicvault.com/zh-hans/pkg/brew/havener/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helm](https://www.automicvault.com/zh-hans/pkg/brew/helm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helmfile](https://www.automicvault.com/zh-hans/pkg/brew/helmfile/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.

## Combined YAML source

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


## 来源

- 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
