shelljs

:shell: Portable Unix shell commands for Node.js (by shelljs)

Shelljs Alternatives

Similar projects and alternatives to shelljs

  1. node

    1,211 shelljs VS node

    Node.js JavaScript runtime ✨🐢🚀✨

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. ShellCheck

    499 shelljs VS ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  4. deno

    486 shelljs VS deno

    A modern runtime for JavaScript and TypeScript.

  5. bun

    382 shelljs VS bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

  6. oils

    266 shelljs VS oils

    Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

  7. zx

    123 shelljs VS zx

    A tool for writing better scripts

  8. xonsh

    123 shelljs VS xonsh

    :shell: Python-powered shell. Full-featured and cross-platform.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. ngs

    Next Generation Shell (NGS)

  11. chalk

    72 shelljs VS chalk

    🖍 Terminal string styling done right

  12. Commander.js

    65 shelljs VS Commander.js

    node.js command-line interfaces made easy

  13. murex

    65 shelljs VS murex

    A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

  14. execa

    24 shelljs VS execa

    Process execution for humans

  15. ora

    13 shelljs VS ora

    Elegant terminal spinner

  16. nvm

    355 shelljs VS nvm

    Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

  17. cross-env

    23 shelljs VS cross-env
  18. opn

    7 shelljs VS opn

    Open stuff like URLs, files, executables. Cross-platform.

  19. minimist

    6 shelljs VS minimist

    Discontinued parse argument options

  20. Inquirer.js

    42 shelljs VS Inquirer.js

    A collection of common interactive command line user interfaces.

  21. progress

    2 shelljs VS progress

    Flexible ascii progress bar for nodejs

  22. dax

    4 shelljs VS dax

    Cross-platform shell tools for Deno and Node.js inspired by zx.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better shelljs alternative or higher similarity.

shelljs discussion

Log in or Post with

shelljs reviews and mentions

Posts with mentions or reviews of shelljs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-20.
  • Compilation of Libraries Supporting CLI Application Development for Node.js
    13 projects | dev.to | 20 Jan 2025
    shelljs is used to run any other command-line programs through the shell.
  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    When I need shell-like utilities from my JS scripts I've previously used shelljs [0]. It's neat that Bun is adding more built-in utilities though.

    [0] https://github.com/shelljs/shelljs

  • Auto commit with LaunchAgents & JavaScript
    1 project | dev.to | 2 Feb 2023
    Now we can open this new project and we're going to install one package, shelljs Shelljs is a great Command Line Utility for interacting with the command line in JavaScript.
  • zx 7.0.0 release
    2 projects | /r/javascript | 14 Jun 2022
    Feels like this library is trying to solve a problem solved long ago by shelljs
  • Guide: Hush Shell-Scripting Language
    23 projects | news.ycombinator.com | 25 Apr 2022
    The purpose of OP's project kind of reminded me of shell.js (shx) [1] which is a nodejs library that wraps all kinds of common UNIX commands to their own synchronously executed methods.

    I guess that most shell projects start off as wanting to be a cross-platform solution to other operating systems, but somewhere in between either escalate to being their own programming language (like all the powershell revamps) or trying to reinvent the backwards-compatibility approach and/or POSIX standards (e.g. oil shell).

    What I miss among all these new shell projects is a common standardization effort like sh/dash/bash/etc did back in the days. Without creating something like POSIX that also works on Windows and MacOS, all these shell efforts remain being only toy projects of developers without the possibility that they could actually replace the native shells of Linux distributions.

    Most projects in the node.js area I've seen migrate their build scripts at some point to node.js, because maintaining packages and runtimes on Windows is a major shitshow. node.js has the benefit (compared to other environments) that it's a single .exe that you have to copy somewhere and then you're set to go.

    When I compare that with python, for example, it is super hard to integrate. All the anaconda- or python-based bundles for ML engineers are pretty messed up environments on Windows; and nobody actually knows where their site-packages/libraries are really coming from and how to even update them correctly with upstream.

    [1] https://github.com/shelljs/shelljs

  • Change working directory in my current shell context when running Node script
    1 project | /r/codehunter | 29 Mar 2022
    `` When I then run this file with./bin/nodefile`, it exits, but the working directory of the current shell context has not changed. I have also tried shelljs, but that does not work either.
  • Ask HN: Let's Build CheckStyle for Bash?
    15 projects | news.ycombinator.com | 20 Feb 2022
    Oh people have tried - here are a few https://stackoverflow.com/questions/10239235/are-there-any-l...

    I vaguely remember quite liking bish when I saw it years ago https://github.com/tdenniston/bish but it looks like no commits in 6 years.

    This shelljs thing looks more promising, but really tedious to use https://github.com/shelljs/shelljs - shell.rm('-rf', 'out/Release'); I'd rather suffer proper bash than have to do that sort of thing.

    Nothing seems to have really caught on so far. Bash is easy to learn and hack on, and before you know it, that simple install.sh that started out moving a few files around is 5000 lines, unmaintainable, and critical to bootstrapping your software :)

  • Release of google/zx 5.0.0
    2 projects | /r/javascript | 9 Feb 2022
    I personally prefer shelljs for stuff like this. zx seems pretty high on the "insane syntactic sugar" train.
  • How to build a CLI using NodeJS 💻
    10 projects | dev.to | 4 Jan 2022
    As we are creating starter files, let's use ShellJS to run commands like git clone, mkdir...
  • Scripting Languages of the Future
    9 projects | news.ycombinator.com | 7 Nov 2021
  • A note from our sponsor - SurveyJS
    surveyjs.io | 17 May 2025
    Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more →

Stats

Basic shelljs repo stats
28
14,338
8.2
8 days ago

shelljs/shelljs is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of shelljs is JavaScript.


Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?