# 使用 npm 安装 shx

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

## 安装

```sh
sudo av install npm:shx
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g shx
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:shx
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/shx>
- **版本:** 0.4.0
- **来源摘要:** Portable Shell Commands for Node
- **主页:** <https://github.com/shelljs/shx#readme>
- **仓库:** <https://github.com/shelljs/shx>
- **上游文档:** <https://github.com/shelljs/shx#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/shx/-/shx-0.4.0.tgz>
- **问题跟踪器:** <https://github.com/shelljs/shx/issues>
- **发布时间:** 2025-03-17T01:18:52.828Z
- **最后更新:** 2025-03-17T01:18:52.828Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- shx (cli)
- shx (别名)

## 依赖

- minimist
- shelljs

## 构建依赖

- babel-cli
- babel-preset-env
- babel-register
- eslint
- eslint-config-airbnb-base
- eslint-import-resolver-node
- eslint-plugin-import
- js-yaml
- mocha
- nyc
- rimraf
- shelljs-changelog
- shelljs-plugin-open
- shelljs-release
- should

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepublish
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.0
- 管理器更新时间: 2025-03-17
- 本地数据: OK
- 上游仓库: https://github.com/shelljs/shx
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.4.0
- **Version Count:** 14
- **Maintainers:** nfischer, freitagbr
- **Publisher:** nfischer
- **Engines:** Node: >=18
- **Integrity:** sha512-Z0KixSIlGPpijKgcH6oCMCbltPImvaKy0sGH8AkLRXw1KyzpKtaCTizP2xen+hNDqVF4xxgvA0KXSb9o4Q6hnA==
- **Shasum:** c6ea6ace7e778da0ab32d2eab9def59d788e9336
- **Unpacked Size:** 20,025
- **File Count:** 0
- **Created At:** 2016-05-03T04:18:14.956Z
- **Latest Published At:** 2025-03-17T01:18:52.828Z
- **Modified At:** 2025-03-17T01:18:52.986Z


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [node-fzf](https://pkg.so/zh-hans/npm/node-fzf/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, minimist, node, system, terminal.
- [wait-on](https://pkg.so/zh-hans/npm/wait-on/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, minimist, node, portable, system.
- [stmux](https://pkg.so/zh-hans/npm/stmux/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, node, system, terminal.

## 来源

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