pkg.soopen package index

brew / 排名 1589

使用 Homebrew, dnf, MacPorts, scoop, Nix 安装 solidity

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install solidity

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install solidity

MacPorts ports tree · lang/solidity/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install solidity

Fedora Rawhide package metadata · solidity · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#solc

nixpkgs package indexes · pkgs/by-name/so/solc/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/solidity

Scoop official bucket manifest trees · bucket/solidity.json · 来源: api.github.com

概览

软件包摘要

Contract-oriented programming language

命令和别名

  • solc
  • yul-phaser

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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`.

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

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.

时间线

  • 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.

来源

  • 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

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
solccli全局可执行文件
yul-phasercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.8.36
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/argotorg/solidity

安装元数据

软件包元数据

软件包键brew:solidity
版本0.8.36
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/solidity
主页https://soliditylang.org
仓库https://github.com/argotorg/solidity
上游文档https://soliditylang.org
许可证GPL-3.0-or-later AND MIT AND BSD-3-Clause AND Apache-2.0 AND CC0-1.0
源码归档https://github.com/argotorg/solidity/releases/download/v0.8.36/solidity_0.8.36.tar.gz
最后更新2026-07-09T11:51:48Z
Pulseupdated
依赖boost, z3
构建依赖cmake, fmt, nlohmann-json, range-v3
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesolidity
Version Scheme0
Revision0
Conflicts With
  • solc-select
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

dnf95%

solidity 0.8.36-2.fc45

Object-oriented, high-level language for implementing smart contracts

https://soliditylang.org/

sudo dnf install solidity
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: solidity
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Solidity
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: solidity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
MacPorts95%

solidity

sudo port install solidity
  • normalized package name match
  • 匹配方式:Solidity
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/solidity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/solidity

scoop install main/solidity
  • normalized package name match
  • 匹配方式:Solidity
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/solidity.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
Nix92%

solc

nix profile install nixpkgs#solc
  • installed executable or alias match
  • 匹配方式:Solc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/so/solc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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