shjs
Portable Unix shell commands for Node.js
Install
- All systems
-
curl cmd.cat/shjs.sh
- Debian
-
apt-get install node-shelljs
- Ubuntu
-
apt-get install node-shelljs
- Arch Linux
-
pacman -S pm2
- Kali Linux
-
apt-get install node-shelljs
- Fedora
-
dnf install nodejs-shelljs
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install node-shelljs
- Raspbian
-
apt-get install node-shelljs
- Dockerfile
- dockerfile.run/shjs
node-shelljs
Portable Unix shell commands for Node.js
ShellJS is a portable (Windows/Linux/OS X) 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! Node.js is an event-based server-side JavaScript engine.