CLI Commands
Complete reference for all IndoriLang CLI commands.
Installation
Install the CLI globally to use IndoriLang from the command line:
bash
npm install -g @indori-lang/cliCommands
indori run <file>
Run an IndoriLang file
bash
indori run hello.ilindori compile <input> <output>
Compile IndoriLang to JavaScript
bash
indori compile program.il output.jsindori version
Show version information
bash
indori versionindori help
Show help information
bash
indori helpExamples
Run a program
bash
# Create hello.il
echo 'bhiya_bol("Hello!");' > hello.il
# Run it
indori run hello.ilCompile to JavaScript
bash
# Compile IndoriLang to JavaScript
indori compile program.il output.js
# Run the compiled JavaScript
node output.js