Shjs
shjs binary, formerly distributed as part of shelljs
Install / Use
/learn @shelljs/ShjsREADME
Shjs
shjs binary, formerly distributed as part of
ShellJS.
npm install -g shelljs-shjs
Note: this package is published as shelljs-shjs, not as shjs.
Maintenance mode
While this package is not explicitly deprecated, this is in maintenance mode. If
you want to execute ShellJS scripts, just use the node command (or whatever is
appropriate for the language of the script, ex. coffee).
This package was removed from ShellJS to reduce that module's dependencies and to shrink overall download size.
Usage
You can install with npm install shelljs-shjs:
$ npm install -g shelljs-shjs
This script is a convenience wrapper for guessing the right interpreter to use
for your script. It also brings your local shelljs install to the front of the
NODE_PATH to ensure this is used.
#!/usr/bin/env shjs
// Save this demo as 'example_script.js'
var shell = require('shelljs');
shell.echo('hello world');
Then run the demo script with:
$ shjs example_script.js
hello world
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
