# 使用 Homebrew, Nix 安装 solc-select

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

## 安装

```sh
sudo av install brew:solc-select
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install solc-select
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#solc-select
```

  证据: nixpkgs package indexes: solc-select from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:solc-select
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/solc-select>
- **版本:** 1.2.0
- **来源摘要:** Manage multiple Solidity compiler versions
- **主页:** <https://github.com/crytic/solc-select>
- **仓库:** <https://github.com/crytic/solc-select>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://files.pythonhosted.org/packages/62/89/51e614fdbf26f47268c18f8a3b6cf1cb67c9a8b48b7b7231c948cae97814/solc_select-1.2.0.tar.gz>
- **最后更新:** 2026-05-14T12:58:22Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- solc-select (cli)
- solc-select (别名)

## 依赖

- certifi
- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-05-14
- 本地数据: OK
- 上游仓库: https://github.com/crytic/solc-select
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

solc-select is a small command-line version manager for the Solidity compiler. It provides a `solc-select` management command and a `solc` wrapper so developers can install and switch among Solidity compiler releases.

### 项目历史

The project README describes solc-select as a tool for quickly switching between Solidity compiler versions. Its setup metadata identifies Trail of Bits as the author and publishes the project from the official Crytic GitHub organization.

The tool downloads compiler binaries from Solidity's official binary distribution and stores them under `~/.solc-select/artifacts/`, keeping local compiler selection separate from system package-manager versions.

### 采用历史

The supplied package-manager facts list solc-select in Homebrew and Nix, reflecting its role as a developer convenience package for Ethereum and Solidity workstations. Homebrew marks it as conflicting with the `solidity` formula, which matches its job of supplying the `solc` wrapper executable.

### 使用方式

Typical use is to install a compiler version with `solc-select install <version>`, choose a global version with `solc-select use <version>`, or override the selected compiler for one command with the `SOLC_VERSION` environment variable.

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

solc-select is package-nerd bait because Solidity projects often pin old compiler versions in source pragmas. Instead of forcing the OS package manager to carry many parallel `solc` packages, solc-select acts like a language-specific shim manager for the compiler.

### 时间线

- 2020: The official setup metadata on the master branch identifies version 0.2.1.
- 2021: Git tags include the 1.0.x series.
- 2026: The Homebrew formula in the supplied facts packages solc-select for current macOS and Linux users.

### Related projects

- Solidity provides the compiler binaries that solc-select downloads. Crytic and Trail of Bits security tooling often need repeatable Solidity compiler selection for analysis workflows.

### 来源

- Input package-manager facts: source_facts.package-manager and source_facts.package-manager-url
- Official README: https://github.com/crytic/solc-select#readme
- Official setup metadata: https://github.com/crytic/solc-select/blob/master/setup.py


## 安全说明

没有找到 solc-select 的匹配本地密钥处理 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: ~/.solc-select/global-version
## 源数据库详情

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

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

- Nix - solc-select: normalized package name match | nixpkgs package indexes: solc-select from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control 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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [foundry](https://pkg.so/zh-hans/brew/foundry/) - Shares pkgdb curated category or tags: cli, developer-tools, ethereum, smart-contracts, solidity.
- [solhint](https://pkg.so/zh-hans/brew/solhint/) - Shares pkgdb curated category or tags: cli, developer-tools, ethereum, smart-contracts, solidity.
- [aiken](https://pkg.so/zh-hans/brew/aiken/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, smart-contracts.
- [truffle](https://pkg.so/zh-hans/brew/truffle/) - Shares pkgdb curated category or tags: cli, developer-tools, ethereum, smart-contracts.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [rbenv](https://pkg.so/zh-hans/brew/rbenv/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [tfenv](https://pkg.so/zh-hans/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [llvm@20](https://pkg.so/zh-hans/brew/llvm-20/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [ethereum-waffle](https://pkg.so/zh-hans/npm/ethereum-waffle/) - Local package facts share a topical domain. Shared terms: cli, compiler, contracts, developer, developer-tools.
- [solc](https://pkg.so/zh-hans/npm/solc/) - Local package facts share a topical domain. Shared terms: cli, compiler, developer, developer-tools, ethereum.

## Combined YAML source

View the package source record on GitHub. [combined/solc-select.yml](https://github.com/mxcl/pkgdb/blob/main/combined/solc-select.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
- external package-manager database matches
- cross-ecosystem install command graph
