Installation
HIL provides multiple installation methods across platforms. Choose the method that best fits your environment.
Package Managers
npm (Recommended)
npm install -g @srashwan/hilp
Homebrew (macOS/Linux)
brew tap srashwan/hilp
brew install hilp
Scoop (Windows)
scoop bucket add hilp https://github.com/srashwan/scoop-hilp
scoop install hilp
Winget (Windows)
winget install srashwan.hilp
AUR (Arch Linux)
yay -S hilp
Direct Build
git clone https://github.com/SRashwan/hilp.git
cd hil-os-v12/hilp
go build -o hilp .
Verify Installation
hilp --version
hilp doctor
The doctor command checks for required dependencies (Node.js, Go, serial tools) and reports their status.
Firmware Tools
To compile and flash firmware to Arduino hardware, you also need:
# Install TinyGo (required for AVR compilation)
# macOS
brew install tinygo-org/tools/tinygo
# Linux
wget https://github.com/tinygo-org/tinygo/releases/download/v0.31.0/tinygo_0.31.0_linux_amd64.tar.gz
tar -xzf tinygo_0.31.0_linux_amd64.tar.gz
export PATH=$PATH:$(pwd)/tinygo/bin
# Verify
tinygo version
IDE Integration
VS Code Extension
Install the HIL extension from the VS Code marketplace:
ext install srashwan.hilp-vscode
Features include:
- Syntax highlighting for
.hilfiles - Auto-completion for HIL LISP operators
- One-click firmware flash
- Integrated REPL terminal
Browser IDE
The web-based IDE at https://hil-os.org provides:
- Interactive LISP REPL
- Code editor with syntax highlighting
- Headless execution in the browser
- Package browsing and installation
References
Rashwan, S. (2026). HIL CLI: Command-line interface for HIL. npm Registry. https://www.npmjs.com/package/@srashwan/hilp