A practical, expression-oriented language with clean control flow, contracts, classes, and REPL-friendly ergonomics — designed to teach good software engineering practice: problem decomposition, interface design, invariants, and testable program structure.
-- From the Nex tutorial
function greet(name: String)
do
print("Hello, " + name)
end
greet("world")
New to Nex? Start with the tutorial, then install the CLI and work through examples locally. Keep the Syntax Postcards and the complete class reference handy.
Download the bootstrap installer and run it. This installs the nex command so you can use it from anywhere.
bash <(curl -fsSL https://raw.githubusercontent.com/vijaymathew/nex/main/bootstrap-install.sh) jvm --install-deps
Recommended for full language support — REPL, formatting, documentation, and compilation tools.
If you prefer a user-local install, place Nex under ~/.local and add the bin directory to your shell path.
bash <(curl -fsSL https://raw.githubusercontent.com/vijaymathew/nex/main/bootstrap-install.sh) jvm --prefix "$HOME/.local" && export PATH="$HOME/.local/bin:$PATH"
After installation, verify with nex help or start the REPL with nex.