Get the latest version of Razen Programming Language for your platform. Currently at beta v0.1.695 with language streamlining and error handling enhancements.
Performance Boost & Enhanced Tooling
Razen provides a single universal installer that works across all major platforms. This is the recommended way to install Razen on your system.
curl -o installer.sh "https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/installer.sh" && chmod +x installer.sh && ./installer.sh
wget -O installer.sh "https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/installer.sh" && chmod +x installer.sh && ./installer.sh
The installer provides additional options for installation, updating, and removal:
./installer.sh
Standard installation or update.
./installer.sh force
Force a fresh installation, overwriting existing.
./installer.sh uninstall
Remove Razen from your system.
While the universal installer works on all platforms, here are specific instructions for each operating system.
Linux installation is straightforward. Use either curl or wget:
curl -o installer.sh "https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/installer.sh" && chmod +x installer.sh && ./installer.sh
wget -O installer.sh "https://raw.githubusercontent.com/BasaiCorp/razen-lang/main/installer.sh" && chmod +x installer.sh && ./installer.sh
The installer will automatically handle dependencies and set up Razen.
After installing Razen, you can start using it right away. Here are some basic commands.
razen <filename.rzn>
Run a Razen script.
razen new <filename>
Create a new Razen program.
razen version
Display version information.
razen help
Show help information.
razen-debug <filename.rzn>
Debug mode with detailed output.
razen-test <filename.rzn>
Test mode for testing scripts.
razen-run <filename.rzn>
Clean mode (only program output).
razen-update
Update to the latest version.
Let's create a simple "Hello, World!" program:
razen new hello
hello.rzn
# My first Razen program
fun main() {
show "Hello, World!";
}
razen-run hello.rzn
Hello, World!
Razen is actively developed. Stay current with the latest features and improvements.
To update Razen to the latest version, simply run:
razen-update
This command checks for updates and installs the newest version if available.
If you need to uninstall Razen, use one of these methods:
./installer.sh uninstall
razen uninstall