# 使用 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
- **版本:** 1.2.0
- **来源摘要:** Manage multiple Solidity compiler versions
- **主页:** <https://github.com/crytic/solc-select>
- **仓库:** <https://github.com/crytic/solc-select>
- **最后更新:** 2026-05-14T12:58:22Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- solc-select (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。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: ~/.solc-select/global-version
## 其他软件包管理器记录

- 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


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