# 使用 npm 安装 socket

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

## 安装

```sh
sudo av install npm:socket
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g socket
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:socket
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/socket>
- **版本:** 1.1.146
- **来源摘要:** CLI for Socket.dev
- **主页:** <https://github.com/SocketDev/socket-cli>
- **仓库:** <https://github.com/SocketDev/socket-cli>
- **上游文档:** <https://github.com/SocketDev/socket-cli>
- **许可证:** MIT
- **发布时间:** 2026-07-24T13:04:53.268Z
- **最后更新:** 2026-07-24T13:04:53.268Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- socket (cli)
- socket (别名)

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.1.146
- **Version Count:** 492
- **Maintainers:** feross, socket-bot
- **Author:** Socket Inc
- **File Count:** 0
- **Created At:** 2012-07-13T19:23:15.044Z
- **Latest Published At:** 2026-07-24T13:04:53.268Z
- **Modified At:** 2026-07-24T13:04:53.268Z

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

- Debian apt - libsocket++-dev - 1.12.13+git20131030.5d039ba-1+b2: normalized package name match | Debian stable package indexes: libsocket++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight convenience library to handle low level BSD sockets in C++ -devel | https://github.com/malaterre/socketxx-1
- Debian apt - libsocket++1 - 1.12.13+git20131030.5d039ba-1+b2: normalized package name match | Debian stable package indexes: libsocket++1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight convenience library to handle low level BSD sockets in C++ - libs | https://github.com/malaterre/socketxx-1
- Debian apt - socket - 1.1-10.1: normalized package name match | Debian stable package indexes: socket from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Multi purpose socket tool
- Ubuntu apt - libsocket++-dev - 1.12.13+git20131030.5d039ba-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsocket++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight convenience library to handle low level BSD sockets in C++ -devel | https://github.com/malaterre/socketxx-1
- Ubuntu apt - libsocket++1 - 1.12.13+git20131030.5d039ba-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsocket++1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight convenience library to handle low level BSD sockets in C++ - libs | https://github.com/malaterre/socketxx-1
- Ubuntu apt - socket - 1.1-10.1: normalized package name match | Ubuntu 24.04 LTS package indexes: socket from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Multi purpose socket tool
- MacPorts - socket: normalized package name match | MacPorts ports tree: net/socket/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [sfw](https://pkg.so/zh-hans/npm/sfw/) - Security-sensitive metadata or terminology overlaps. Shared terms: analysis, cli, security, socket, static.
- [snyk](https://pkg.so/zh-hans/npm/snyk/) - Security-sensitive metadata or terminology overlaps. Shared terms: analysis, cli, security, static, static-analysis.
- [snyk-delta](https://pkg.so/zh-hans/npm/snyk-delta/) - Security-sensitive metadata or terminology overlaps. Shared terms: analysis, cli, security, static, static-analysis.

## 来源

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