{"id":46078290,"url":"https://github.com/faraazahmad/shellrb","last_synced_at":"2026-03-01T15:06:22.343Z","repository":{"id":45751918,"uuid":"81569769","full_name":"faraazahmad/shellrb","owner":"faraazahmad","description":"A unix-like shell built in Ruby","archived":false,"fork":false,"pushed_at":"2023-10-22T13:04:25.000Z","size":113,"stargazers_count":33,"open_issues_count":3,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-10-22T14:21:22.693Z","etag":null,"topics":["cross-platform","linux","macos","ruby","shell","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faraazahmad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T13:52:34.000Z","updated_at":"2023-10-22T07:50:26.000Z","dependencies_parsed_at":"2022-08-29T15:01:28.286Z","dependency_job_id":null,"html_url":"https://github.com/faraazahmad/shellrb","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/faraazahmad/shellrb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faraazahmad%2Fshellrb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faraazahmad%2Fshellrb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faraazahmad%2Fshellrb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faraazahmad%2Fshellrb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faraazahmad","download_url":"https://codeload.github.com/faraazahmad/shellrb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faraazahmad%2Fshellrb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:44:57.896Z","status":"ssl_error","status_checked_at":"2026-03-01T14:43:27.662Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","linux","macos","ruby","shell","unix","windows"],"created_at":"2026-03-01T15:06:21.831Z","updated_at":"2026-03-01T15:06:22.309Z","avatar_url":"https://github.com/faraazahmad.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShellRB - Unix shell commands using Ruby\n\n![ShellRB](ShellRB.png)\n\n[![Build Status](https://travis-ci.org/faraazahmad/shellrb.svg?branch=master)](https://travis-ci.org/faraazahmad/shellrb)\n[![Join the chat at https://gitter.im/shellrb/Lobby](https://badges.gitter.im/shellrb/Lobby.svg)](https://gitter.im/shellrb/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nShellRB is a portable **(Windows / Linux / macOS)** implementation of Unix shell commands on top of the Ruby's modules. It is a command-line interface (CLI) toolkit written in Ruby, designed to simplify and improve your experience with interacting with command-line tools and processes. You can use it to eliminate your shell script's dependency on Unix, while still keeping its familiar and powerful commands.\n\nAlso, This toolkit provides a wide range of functionality, including command parsing, argument validation, option parsing, subcommand management, and more. It also provides a simple and intuitive way to create complex command-line interfaces for your Ruby applications. In this repository, you'll find all the necessary documentation, examples, and source code to install and use ShellRB.\n\nInspired from [ShellJS/Shx](https://github.com/shelljs/shx).\n\n## Example\nHere's a sneak peek at how it feels to use ShellRB:\n```\nfaraaz@SRB: /home/faraaz\u003e ls\nfoo\nbar\nshellrb\n...\n\nfaraaz@SRB: /\u003e cd home\nfaraaz@SRB: /home\u003e cd faraaz\nfaraaz@SRB: /home/faraaz\u003e pwd\n/home/faraaz\n\n```\n\n## Why ShellRB\nI've been using Linux for my development environment ever since I jumped onto the open-source bandwagon. Often, I've wondered, what would people do if they really wanted to use a Bash-like shell on Windows without the hassle of firing-up a Linux-based OS VM.\n\nEnter ShellRB. The goal is to build a Bash-like shell in Ruby that runs cross-platform, is easy to maintain (has tests for every feature), and is friendly to new contributors.\n\n## Installation\n### Prerequisites\n1. Make sure you have **Ruby** and **Git** installed (pretty obvious, right?).\n\n  On macOS, Ruby comes pre-installed, on Linux you can install it preferably using [RVM](https://rvm.io), and on Windows, you may have to install Git and Ruby using their installers from [here](https://git-scm.com/download/win) and [here](https://rubyinstaller.org/) respectively.\n\n2. Once you have the above installed, you will also need to install the **`rake` gem**. You can install that using:\n  ```\n  gem install rake\n  ```\n\n### Install ShellRB\n1. Clone the repository using Git and `cd` into it:\n  ```\n  git clone https://github.com/faraazahmad/shellrb.git\n  cd shellrb\n  ```\n2. Install the required gems:\n  ```\n  rake install\n  ```\n\nShellRB is now installed. You can now run it using:\n```\nrake run\n```\n\n## Updating the gems\nTo update the gems that ShellRB depends upon, just run:\n```\nrake update\n```\n\n## Updating ShellRB\nTo get the latest build of ShellRB, (you may have guessed it), simply run:\n```\nrake upgrade\n```\n\n## Contributing\nWant to contribute to ShellRB? Great! You can find the contributing guidelines [here](CONTRIBUTING.md).\n\n## Code of Conduct\nWe highly appreciate good behaviour and kind treatment of others. See our [Code of Conduct](CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaraazahmad%2Fshellrb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaraazahmad%2Fshellrb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaraazahmad%2Fshellrb/lists"}