solc-select

1.2.0 · active · verified Thu Apr 16

solc-select is a Python library and CLI tool (version 1.2.0) that simplifies the management and switching between different versions of the Solidity compiler (`solc`). It provides two command-line utilities: `solc-select` for installing and setting compiler versions, and `solc` as a wrapper that invokes the selected compiler. It maintains an active development status with a steady release cadence, primarily focusing on CLI improvements and platform compatibility.

Common errors

Warnings

Install

Quickstart

The quickstart demonstrates installing, switching, and verifying Solidity compiler versions using the `solc-select` command-line utility.

# Install a specific Solidity version
solc-select install 0.8.19

# Set the global Solidity version
solc-select use 0.8.19

# Verify the active version
solc --version

# List all installed versions
solc-select versions

# Install and use in one command (will download if not installed)
solc-select use 0.8.20 --always-install

view raw JSON →