# 使用 npm 安装 solc

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

## 安装

```sh
sudo av install npm:solc
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g solc
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:solc
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/solc>
- **版本:** 0.8.35
- **来源摘要:** Solidity compiler
- **主页:** <https://github.com/ethereum/solc-js#readme>
- **仓库:** <https://github.com/ethereum/solc-js>
- **上游文档:** <https://github.com/ethereum/solc-js#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/solc/-/solc-0.8.35.tgz>
- **问题跟踪器:** <https://github.com/ethereum/solc-js/issues>
- **发布时间:** 2026-04-29T10:06:36.578Z
- **最后更新:** 2026-04-29T10:06:36.578Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- solcjs (cli)
- solcjs (别名)

## 依赖

- command-exists
- commander
- follow-redirects
- js-sha3
- memorystream
- semver
- tmp

## 构建依赖

- @types/node
- @types/semver
- @types/tape
- @types/tmp
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- coveralls
- eslint
- eslint-config-standard
- eslint-plugin-import
- eslint-plugin-node
- eslint-plugin-promise
- nyc
- tape
- tape-spawn
- ts-node
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.8.35
- 管理器更新时间: 2026-04-29
- 本地数据: OK
- 上游仓库: https://github.com/ethereum/solc-js
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 solc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.8.35, Series0.4: 0.4.26, Series0.5: 0.5.17
- **Version Count:** 124
- **Maintainers:** ekpyron, cameel, r0qs, matheus.pit, clonker, nikola-matic
- **Author:** chriseth
- **Publisher:** nikola-matic
- **Engines:** Node: >=12.0.0
- **Integrity:** sha512-OaP/4zyoKRo2CjqZDxbtkeRlEo6MxP4FLCxntw1Agf9OSoecmwYKoFBSB34UcSKBFBucrTh3Mb0nRoJou62ibw==
- **Shasum:** 48f48d82d2ed49929953243066229fbf308938cb
- **Unpacked Size:** 9,476,843
- **File Count:** 0
- **Created At:** 2015-09-28T17:49:26.305Z
- **Latest Published At:** 2026-04-29T10:06:36.578Z
- **Modified At:** 2026-04-29T10:06:36.706Z

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

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


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [traceur](https://www.automicvault.com/zh-hans/pkg/npm/traceur/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, commander, compiler.
- [node-minify](https://www.automicvault.com/zh-hans/pkg/npm/node-minify/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, commander, compiler.
- [nw-gyp](https://www.automicvault.com/zh-hans/pkg/npm/nw-gyp/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
