Zsh · online compiler

Run Zsh online

Run Zsh 5 scripts online — the interactive shell champion.

Version
Firecracker microVM live per-test verdicts multi-file compile

Zsh is the shell that beat bash for interactive use — better tab completion, arrays that behave, spelling correction. It is macOS's default since Catalina.

Starter code

What you get in Zsh

Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.

zsh
Zsh 5
read n; echo $((n * 2))
stdin →21
expected →42
FAQ

Common questions about Zsh on ls-judge

Zsh 5?
Yes.
Oh-my-zsh?
No — no network to install.
Interactive vs script?
Non-interactive script mode — no prompts.
Free?
Yes.
Further reading
Also try