caution
Open a terminal (PowerShell if you are using Windows), and run:
- Apple Silicon MacOS
- Intel MacOS
- x86 Ubuntu 20.04
- Windows
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/mac_m1_moon_setup.sh)"
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/mac_intel_moon_setup.sh)"
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/ubuntu_x86_64_moon_setup.sh)"
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; irm https://cli.moonbitlang.com/windows_setup.ps1 | iex
For people who want to use bleeding edge version:
- Apple Silicon MacOS
/bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/bleeding/mac_m1_moon_setup.sh)"