# 使用 Homebrew 安装 conda-lock

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

## 安装

```sh
sudo av install brew:conda-lock
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install conda-lock
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:conda-lock
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/conda-lock>
- **版本:** 4.0.2
- **来源摘要:** Lightweight lockfile for conda environments
- **主页:** <https://conda.github.io/conda-lock/>
- **上游文档:** <https://conda.github.io/conda-lock/>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/06/44/52deb5012f8ef85c224cb3b1638c09c3b3d70b2f9e101e893bb61b9ee9ba/conda_lock-4.0.2.tar.gz>
- **最后更新:** 2026-08-04T11:13:06Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- conda-lock (cli)
- conda-lock (别名)

## 依赖

- certifi
- libyaml
- pydantic
- python@3.14
- zstd

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.2
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://conda.github.io/conda-lock/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

conda-lock generates reproducible lock files for conda environments by solving for target platforms ahead of installation, so installers can consume pinned lock output without invoking the conda solver at deploy time.

### 项目历史

The official repository was created in 2019. Version 1.0.0, published in March 2022, introduced the unified lock format as the default and documented the old explicit per-platform style as a compatibility mode. Version 2.0.0, published in May 2023, was the first release under the Conda organization after graduating from conda-incubator.

### 采用历史

conda-lock fits the reproducible-environments gap between human-authored conda environment.yml files and fully pinned, multi-platform deployment artifacts. Its documentation emphasizes environment.yml, meta.yaml, pyproject.toml, integrated pip support, and solveless conda installation.

### 使用方式

Users typically provide one or more source files such as environment.yml, conda-lock.yml, pyproject.toml, or meta.yaml, choose target platforms, generate conda-lock.yml, and install or render platform-specific lock files in CI or deployment workflows.

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

For package-manager users, conda-lock is important because it makes conda environments behave more like lockfile-centered ecosystems: input specs remain readable while machine-resolved artifacts preserve exact packages across Linux, macOS, Windows, and architecture variants.

### 时间线

- 2019: Official GitHub repository created.
- 2022: v1.0.0 released with the unified lock format.
- 2023: v2.0.0 released as the first release under the Conda organization.

### Related projects

- conda-lock is closely tied to conda, conda-forge, mamba, pip, Poetry-style pyproject metadata, and conda environment.yml workflows.

### 来源

- <https://conda.github.io/conda-lock>
- <https://github.com/conda/conda-lock>
- <https://github.com/conda/conda-lock/releases/tag/v1.0.0>
- <https://github.com/conda/conda-lock/releases/tag/v2.0.0>


## 安全说明

没有找到 conda-lock 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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: ./environment.yml, ./conda-lock.yml, ./pyproject.toml, ./meta.yaml
## 源数据库详情

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/zh-hans/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [poetry](https://pkg.so/zh-hans/brew/poetry/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [conan](https://pkg.so/zh-hans/brew/conan/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [pixi](https://pkg.so/zh-hans/brew/pixi/) - Shares pkgdb curated category or tags: cli, conda, developer-tools, package-management, package-manager.
- [micromamba](https://pkg.so/zh-hans/brew/micromamba/) - Shares pkgdb curated category or tags: cli, conda, developer-tools, package-management, package-manager.
- [pdm](https://pkg.so/zh-hans/brew/pdm/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager, python.
- [pnpm](https://pkg.so/zh-hans/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [pipx](https://pkg.so/zh-hans/brew/pipx/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, python.
- [mint](https://pkg.so/zh-hans/brew/mint/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [grayskull](https://pkg.so/zh-hans/brew/grayskull/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, conda, developer, developer-tools.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
