Shell in WebAssembly

“Shell” refers to the class of UNIX-like languages that are designed for interactive prompts and shell scripts. This includes sh (Borne Shell), bash (Borne Again Shell), csh (C Shell), and zsh (Z Shell) among others.

Unlike many of the languages in this guide, we assume that shell scripting using these languages is unlikely to be a desirable development experience. This is in part because, by nature, shell is designed to call and run other programs, which WebAssembly typically does not allow. However, we are starting to see some shell-like languages appear on the scene.

Available Implementations

Usage

Both of the implementations above provide a shell-like in-browser experience.

Learn More

Here are some great resources: