website/blog/2026-01-13_moon-v2-beta.mdx
About two weeks ago we announced the alpha release of moon v2, and today we are excited to share that the beta is now available! With the beta, we've made significant progress towards stabilizing the new architecture and features introduced in v2.
<!--truncate-->You can install the beta with proto (>= 0.54.1), or download it directly from the GitHub release page.
$ proto install moon 2.0.0-beta.1
Alternatively, you can try using the new experimental shell install scripts. Be warned that these haven't been tested thoroughly yet!
# Unix
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/moon/releases/download/v2.0.0-beta.0/moon_cli-installer.sh | sh
# Windows
powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/moon/releases/download/v2.0.0-beta.0/moon_cli-installer.ps1 | iex"
We've been hard at work the past few weeks working on the following:
@moonrepo npm packages have been updated (and published) to support v2. Additionally, they
are now published using OIDC tokens for improved security, and now support provenance.moonrepo/setup-toolchain GitHub Action can now point to v2.command and args settings with a
new parser that better handles
shell syntax, preserves quoting, and much more. We've also made a breaking change where these
settings now only allow simple commands, and script should be used for compound commands (pipes,
redirects, etc).envFile option to support token/var expansion.There are still some features and improvements that are not yet complete. Here are some of the things we are still working on: