Install
Build Musi from source.
The current public path is source-first: install Rust and libffi, build the repository, and keep `music` plus `musi` on your PATH.
Rust
Rust 1.87 or newer
Builds both package and direct-mode tooling.
libffi
System libffi development package
Required for current foreign-function flow.
Git
Any recent Git install
Retrieves and updates the project source.
Install from source
git clone https://github.com/musi-lang/musi.git
cd musi
cargo build --release
export PATH="/path/to/musi/target/release:$PATH"Quick start
musi new hello
cd hello
musi runCommands
Current entry points
| Command | Description |
|---|---|
musi check | Check the current package. |
musi build | Build the resolved package entry. |
musi run | Run the package entry. |
musi test | Discover and run *.test.ms files. |
music check index.ms | Check one direct source graph. |
music build index.ms | Emit one direct .seam artifact. |
music run index.seam | Run compiled bytecode directly. |
github.com/musi-lang/musi
musi-lang.com