ShellJS is a portable (Windows/Linux/macOS) implementation of Unix shell commands on top of the Node.js API. You can use it to eliminate your shell script's dependency on Unix while still keeping its familiar and powerful commands. You can also install it globally so you can run it from outside Node projects, say goodbye to those gnarly Bash scripts! ShellJS is proudly tested on every node release since v8! ShellJS now supports third-party plugins! You can learn more about using plugins and writing your own ShellJS commands in the wiki. The most important thing is to require the most recent version of ShellJS as a peer-dependency. If you want to add unit tests for your plugin as well, you'll probably want it as a dev-dependency too.

Features

  • The project is unit-tested and battle-tested
  • If you just want cross platform UNIX commands, checkout our new project shelljs/shx
  • ShellJS now supports third-party plugins!
  • All commands run synchronously, unless otherwise stated
  • Commands can send their output to another command in a pipe-like fashion
  • Write your own ShellJS commands

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

BSD License

Follow ShellJS

ShellJS Web Site

Other Useful Business Software
Orchestrate Your AI Agents with Zenflow Icon
Orchestrate Your AI Agents with Zenflow

The multi-agent workflow engine for modern teams. Zenflow executes coding, testing, and verification with deep repo awareness

Zenflow orchestrates AI agents like a real engineering system. With parallel execution, spec-driven workflows, and deep multi-repo understanding, agents plan, implement, test, and verify end-to-end. Upgrade to AI workflows that work the way your team does.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ShellJS!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Terminals

Registered

2022-04-08