Installation

Get IndoriLang up and running on your system in minutes.

CLI Tool

Install the IndoriLang CLI globally to compile and run .il files from the command line.

bash
# Install CLI globally
npm install -g @indori-lang/cli

# Verify installation
indori version

Usage

bash
# Run IndoriLang file
indori run program.il

# Compile to JavaScript
indori compile program.il output.js

# Show help
indori help

NPM Package

Use IndoriLang compiler in your Node.js projects by installing the npm package.

bash
# Install compiler package
npm install @indori-lang/compiler

# Use in your code
import { IndoriCompiler } from '@indori-lang/compiler';

const compiler = new IndoriCompiler();
const result = compiler.compile(sourceCode);

VS Code Extension

Get syntax highlighting, auto-completion, and snippets in VS Code.

bash
# Install VS Code extension
code --install-extension indori-lang

# Or search for "IndoriLang" in VS Code Extensions marketplace

After installation, VS Code will automatically recognize .il files and provide syntax highlighting.

Next Steps

Now that you have IndoriLang installed, let's write your first program!

Write Your First Program →