Get started

Install BoxLang, then add CommandBox with one command.

On this page

Install BoxLang, then add CommandBox with one command. The latest CommandBox release is v7.0.0.

1. Install BoxLang

BoxLang needs Java 21 or newer. Both installers can fetch Java for you. Pick the quick installer for one BoxLang version, or the BoxLang Version Manager (BVM) to run several versions side by side. The two are compared at the bottom of this page.

Quick installer

/bin/bash -c "$(curl -fsSL https://install.boxlang.io)"

# add Java 21 automatically
curl -fsSL https://install.boxlang.io | bash -s -- --with-jre

boxlang --version
brew tap ortus-boxlang/boxlang
brew install ortus-boxlang/boxlang/boxlang
install-boxlang
boxlang --version
powershell -NoExit -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://install-windows.boxlang.io'))"
boxlang --version

BoxLang Version Manager (BVM)

curl -fsSL https://install-bvm.boxlang.io | bash -s -- --with-jre

# reload your shell: source ~/.bashrc (or ~/.zshrc)
bvm install latest
bvm doctor
brew tap ortus-boxlang/boxlang
brew install ortus-boxlang/boxlang/bvm
bvm install latest
# run in PowerShell
iwr -useb https://downloads.ortussolutions.com/ortussolutions/boxlang-quick-installer/install-bvm.ps1 | iex

# restart your terminal, then
bvm install latest
boxlang --version

Full options are in the quick installer and BVM docs.

2. Add CommandBox

The same command on every operating system:

bx-module install bx-cli
box version

To upgrade later:

bx-module update bx-cli
Java 21 or newer

The installers can fetch Java for you with --with-jre. Check an existing install with java -version.

Already use CommandBox?

The box command, your box.json and your server.json keep working.

Which installer?

Both install the same BoxLang runtime, MiniServer, helper scripts and command line tools. The only difference is that BVM adds version management on top.

Quick installerBoxLang Version Manager (BVM)
Versions on the machineOne, system wideMany, side by side
DefaultThe latest stableYou choose, bvm install latest
Switch versionsReinstallbvm use <version>
Pin a version per projectNobvm local writes a .bvmrc
Stable and snapshot buildsBy argumentInstall both, switch freely
List and health checksNobvm list, bvm list-remote, bvm doctor
Best forProduction servers on one versionDevelopers who juggle projects

Not sure? Start with the quick installer. You can move to BVM later.

Then what?

Edit this page Download Markdown Last updated Nov 30, 2026, 8:08:15 PM Report an issue