🚀 Installation
Get started with Nixi in minutes. Choose your platform and installation method.
🚀 Quick Install (Recommended)
Choose Your Platform
Select the installation script for your operating system:
Run Installation Script
Copy and paste the command for your platform into your terminal:
powershell -Command "iwr -outf install-windows.bat https://raw.githubusercontent.com/ijadux2/nixi/main/install-windows.bat; ./install-windows.bat"
Verify Installation
Test that Nixi is properly installed:
nixi --version nixi --help
📋 Manual Installation
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
Clone Repository
Clone the Nixi repository from GitHub:
git clone https://github.com/ijadux2/nixi.git cd nixi
Install Dependencies
Install the required npm packages:
npm install
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
Run Test Suite
Ensure all tests pass:
npm test
You should see all tests passing with ✓ marks.
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.
Start Interactive REPL
Test the interactive mode:
npm start
# Or simply:
nixi
Try: let x = 42; y = 23; in add(x, y)