Install and Verify

Install BoxLang, add CommandBox on top of it, and confirm it works.

On this page

In this lesson you will install BoxLang, add CommandBox to it, and check that the box command works. CommandBox now runs on BoxLang, so BoxLang always comes first.

1. Install BoxLang

1
Run the quick installer
/bin/bash -c "$(curl -fsSL https://install.boxlang.io)"
powershell -NoExit -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://install-windows.boxlang.io'))"
2
Need Java too?

On macOS and Linux, add --with-jre to have the installer fetch Java 21 for you.

2. Add CommandBox

CommandBox is a BoxLang module called bx-cli. Install it with the BoxLang module installer:

bx-module install bx-cli

3. Verify

box version

You should see the CommandBox version number printed. The latest release is 7.0.0.

Open a new terminal

If box is not found right after installing, open a fresh terminal window so your PATH is reloaded.

Updating

CommandBox is a BoxLang module, so you upgrade it like any other module:

bx-module update bx-cli

Run box version again afterwards to confirm the new version.

Recap

  • BoxLang is installed first, with the quick installer for your OS.
  • CommandBox is added with bx-module install bx-cli.
  • box version verifies the install, and bx-module update bx-cli updates it.
Edit this page Download Markdown Last updated Nov 30, 2026, 8:08:15 PM Report an issue
Lesson 1 of 15 - Learn CommandBox