# 使用 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
- **版本:** 4.0.2
- **来源摘要:** Lightweight lockfile for conda environments
- **主页:** <https://conda.github.io/conda-lock/>
- **最后更新:** 2026-07-25T09:53:36Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- conda-lock (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。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: ./environment.yml, ./conda-lock.yml, ./pyproject.toml, ./meta.yaml

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
