#toolchain #installer #moon-bit #version #backup #restore #language

app multimoon

MultiMoon - an installer of MoonBit language toolchain

3 releases

0.1.2 May 30, 2024
0.1.1 May 21, 2024
0.1.0 May 20, 2024

#281 in Development tools

Apache-2.0

45KB
858 lines

multimoon

Crates.io Version GitHub Repo stars

An installer of MoonBit language toolchain, directly inspired by 'rust-lang/rustup'.

MultiMoon logo

This is a Lone Outpost Tech Open Source project.

Installation

Cargo install can be used if you already have the Rust language toolchain installed:

cargo install multimoon

Or download the executable file of your platform on the release page.

You may need to make it executable and copy to proper path in your user or system path. An example for most Linux distros:

tar -Jxvf multimoon-0.1.0-amd64-linux.tar.xz
chmod +x multimoon-0.1.0-x64-linux/multimoon
sudo cp multimoon-0.1.0-x64-linux/multimoon /usr/local/bin/multimoon    # need root privileges

Usage

Get the help:

multimoon

Update to the latest MoonBit toolchain:

multimoon update

Revert to an old version of toolchain:

multimoon toolchain update 0.1.20240513

Use, backup and restore the core library: (basically used in core development)

multimoon core backup my-core-dev-1
multimoon core restore my-core-dev-1

Dependencies

~18–32MB
~516K SLoC