🚀 Quick Install (Recommended)

1

Choose Your Platform

Select the installation script for your operating system:

2

Run Installation Script

Copy and paste the command for your platform into your terminal:

Windows Command
powershell -Command "iwr -outf install-windows.bat https://raw.githubusercontent.com/ijadux2/nixi/main/install-windows.bat; ./install-windows.bat"
3

Verify Installation

Test that Nixi is properly installed:

nixi --version
nixi --help

📋 Manual Installation

1

Prerequisites

Ensure you have the following installed:

  • Node.js (version 14 or higher)
  • Git for cloning the repository
  • npm (comes with Node.js)
node --version  # Should be 14 or higher
npm --version     # Should show npm version
git --version     # Should show git version
2

Clone Repository

Clone the Nixi repository from GitHub:

git clone https://github.com/ijadux2/nixi.git
cd nixi
3

Install Dependencies

Install the required npm packages:

npm install
4

Test Installation

Run the test suite to verify everything works:

npm test
node tests/test.js

🔧 Editor Setup

Enhance your development experience with editor support:

🔧

Neovim

Full syntax highlighting and indentation.

./install-neovim.sh
📝

Vim

Classic Vim support with syntax highlighting.

./install-vim.sh
💻

VS Code

Complete language support extension.

Search: "Nixi Language Support"
🤖

Cursor

AI-powered editor with enhanced features.

Search: "Nixi Language Support for Cursor"

✅ Verify Installation

1

Run Test Suite

Ensure all tests pass:

npm test

You should see all tests passing with ✓ marks.

2

Try Example Files

Run the built-in examples:

npm run example:gui
npm run example:math
npm run example:dashboard

Each should generate an HTML file.

3

Start Interactive REPL

Test the interactive mode:

npm start
# Or simply:
nixi

Try: let x = 42; y = 23; in add(x, y)