Install, build, and run (make-first)¶
This page documents the canonical way to build/install/run Incan from this repository.
Prerequisites¶
- Rust (1.85+): install via rustup
git: to clone the repositorymake: for the canonical make-first workflow
These instructions assume a Unix-like shell environment (macOS/Linux). If you’re on Windows, use WSL or adapt the commands.
Get the repo (run from repo root)¶
Run the commands on this page from the repository root (the directory containing Makefile):
git clone https://github.com/dannys-code-corner/incan.git
cd incan
Canonical command flow¶
make install
incan --version
Notes:
make installinstallsincanto~/.cargo/bin.- If
incanis not found, make sure~/.cargo/binis on yourPATH.
make release
./target/release/incan --version
Run a file¶
If you used make install:
incan run hello.incn
If you used the no-install fallback:
./target/release/incan run hello.incn