# Install shx with npm

Portable Shell Commands for Node. Version 0.4.0 via npm; verified 2025-03-17.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:shx
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/shx>
- **Version:** 0.4.0
- **Source summary:** Portable Shell Commands for Node
- **Homepage:** <https://github.com/shelljs/shx#readme>
- **Repository:** <https://github.com/shelljs/shx>
- **Upstream docs:** <https://github.com/shelljs/shx#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/shx/-/shx-0.4.0.tgz>
- **Issue tracker:** <https://github.com/shelljs/shx/issues>
- **Published:** 2025-03-17T01:18:52.828Z
- **Last updated:** 2025-03-17T01:18:52.828Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- shx (cli)
- shx (alias)

## Dependencies

- minimist
- shelljs

## Build dependencies

- 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

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepublish
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.4.0
- Package-manager updated: 2025-03-17
- Local data: ok
- Upstream repository: https://github.com/shelljs/shx
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for shx. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

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