# Install solidity with Homebrew, dnf, MacPorts, scoop, Nix

Contract-oriented programming language. Version 0.8.36 via Homebrew; verified 2026-07-09. Also installable with dnf: sudo dnf install solidity.

## Install

```sh
sudo av install brew:solidity
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install solidity
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install solidity
```

  Evidence: MacPorts ports tree: lang/solidity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install solidity
```

  Evidence: Fedora Rawhide package metadata: solidity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

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

  Evidence: nixpkgs package indexes: pkgs/by-name/so/solc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/solidity
```

  Evidence: Scoop official bucket manifest trees: bucket/solidity.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:solidity
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/solidity>
- **Version:** 0.8.36
- **Source summary:** Contract-oriented programming language
- **Homepage:** <https://soliditylang.org>
- **Repository:** <https://github.com/argotorg/solidity>
- **Upstream docs:** <https://soliditylang.org>
- **License:** GPL-3.0-or-later AND MIT AND BSD-3-Clause AND Apache-2.0 AND CC0-1.0
- **Source archive:** <https://github.com/argotorg/solidity/releases/download/v0.8.36/solidity_0.8.36.tar.gz>
- **Last updated:** 2026-07-09T11:51:48Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- solc (cli)
- yul-phaser (cli)
- solc (alias)
- yul-phaser (alias)

## Dependencies

- boost
- z3

## Build dependencies

- cmake
- fmt
- nlohmann-json
- range-v3

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.8.36
- Package-manager updated: 2026-07-09
- Local data: ok
- Upstream repository: https://github.com/argotorg/solidity
- info: No cached GitHub release or tag data was available.
## Project history and usage

Solidity is the contract-oriented programming language and compiler toolchain used to write smart contracts for the Ethereum Virtual Machine. In package-manager culture, the `solc` command is the important artifact.

### Project history

The official repository README describes Solidity as a statically typed, contract-oriented, high-level language for implementing smart contracts on Ethereum. The docs describe it as a curly-bracket language influenced mainly by C++, with some earlier JavaScript influence reduced from version 0.4.0.

The official changelog records the 0.1.0 release in 2015, 0.4.0 in 2016, 0.5.0 in 2018, 0.6.0 in 2019, 0.7.0 in 2020, and 0.8.0 in 2020. The project remains in the 0.x version series and the README explains that breaking changes, new features, and bug fixes arrive regularly.

### Adoption history

Solidity became a core package in Ethereum developer environments because smart-contract projects need a specific compiler to match source pragmas and audit expectations. The supplied package-manager facts list Homebrew, Fedora/dnf, MacPorts, Nix, and Scoop packaging.

The official installation docs reflect this broad packaging story: they cover npm/Node.js `solcjs`, Docker images, static binaries, Homebrew, source builds, and the official compiler binary repository.

### How it is used

Developers use `solc` directly for command-line compilation, often in larger contract projects or where compiler options matter, and can also use `solc --standard-json` for tool integration. The docs distinguish the full `solc` compiler from `solcjs`, whose command-line options are not compatible with `solc`.

### Why package nerds care

Solidity is significant for package maintainers because compiler reproducibility is part of contract security. Old projects may require old compiler versions, current projects may need the newest bug fixes, and package managers must decide whether to ship one moving compiler, versioned formulae, static binaries, or external shims such as solc-select.

### Timeline

- 2015: Solidity 0.1.0 appears in the official changelog.
- 2016: Solidity 0.4.0 is released, including version pragmas.
- 2018: Solidity 0.5.0 is released.
- 2019: Solidity 0.6.0 is released.
- 2020: Solidity 0.7.0 and 0.8.0 are released.
- 2026: Solidity 0.8.35 is recorded in the official changelog.

### Related projects

- solc-js is derived from the C++ compiler via Emscripten. solc-bin provides official static compiler builds. solc-select uses Solidity's official binary distribution to switch compiler versions.

### Sources

- Input package-manager facts: source_facts.package-manager
- Official README: https://github.com/argotorg/solidity
- Official changelog: https://github.com/argotorg/solidity/blob/develop/Changelog.md
- Official docs: https://docs.soliditylang.org/
- Official installing docs: https://docs.soliditylang.org/en/latest/installing-solidity.html
- Official language influences docs: https://docs.soliditylang.org/en/latest/language-influences.html


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- dnf - solidity - 0.8.36-2.fc45: normalized package name match | Fedora Rawhide package metadata: solidity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Object-oriented, high-level language for implementing smart contracts | https://soliditylang.org/
- MacPorts - solidity: normalized package name match | MacPorts ports tree: lang/solidity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/solidity: normalized package name match | Scoop official bucket manifest trees: bucket/solidity.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Nix - solc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/so/solc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [z3](https://pkg.so/brew/z3/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/brew/cmake/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/brew/go/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [gcc](https://pkg.so/brew/gcc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk](https://pkg.so/brew/openjdk/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [rust](https://pkg.so/brew/rust/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk@17](https://pkg.so/brew/openjdk-17/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk@21](https://pkg.so/brew/openjdk-21/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [lua](https://pkg.so/brew/lua/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [openjdk@11](https://pkg.so/brew/openjdk-11/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime.
- [cadence](https://pkg.so/brew/cadence/) - Local package facts share a topical domain. Shared terms: cli, contract, contracts, language, language-runtime.
- [fantom](https://pkg.so/brew/fantom/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, oriented.
- [inko](https://pkg.so/brew/inko/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, oriented.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
