CommandBox
Star

The CLI for tests.

CommandBox installs your dependencies, runs your servers, scaffolds your apps and tests your code. Built on BoxLang, and added to any BoxLang install with one command.

$bx-module install bx-cli

Needs BoxLang first. Install BoxLang in one line or visit boxlang.io ↗

~/my-app
BoxLangBuilt on the native BoxLang runtime
bx-cliAdd it with one module command
ForgeBoxThe registry behind box install
Java 21+One JVM, every OS
The pair

The runtime and its toolbox.

BoxLang runs your code. CommandBox manages everything around it: your packages, your servers, your tasks and your tests. Start BoxLang, any CFML engine or any Java WAR from the same command line.

REGISTRYCOMMANDBOX (bx-cli)SERVERS AND TESTS ForgeBoxregistry boxinstall · server · task · test BoxLang serverbox server start CFML serverany CFML engine Java serverany Java WAR TestBoxbox testbox run BoxLang runtimeCommandBox itself runs on this

Try the commands

~/my-app
Watch it run

Real sessions, start to finish.

Short terminal recordings of the commands people use every day. Pause, scrub and copy along.

recording
0:00
Everything included

One CLI for the whole workflow.

Every command in the same shell, with the same flags and the same tab completion.

Package manager

box install from ForgeBox, Git, URLs or folders.

Embedded servers

box server start. One command, any kind of server.

BoxLang serverCFML server (Adobe, Lucee)Java server (any WAR)Web server

Shell and REPL

Tab completion, history and a live BoxLang REPL.

TestBox runner

Run specs from the CLI, with watchers and reporters.

Tasks and scripts

Automate builds with tasks written in BoxLang.

Config as files

box.json and server.json in version control.

Extensible

Add commands and modules. It is BoxLang all the way down.

Extend it

CLI modules built on CommandBox.

CommandBox is the base. These modules add commands for the tools you build with. Paste a command into the CommandBox shell.

ColdBox CLI

The official CLI for the ColdBox Framework.

install coldbox-cli

BoxLang CLI

CommandBox BoxLang CLI tools.

install commandbox-boxlang

TestBox CLI

Run, report on and generate tests.

install testbox-cli

ContentBox CLI

The official CLI for the ContentBox modular CMS.

install contentbox-cli

Database Migrations

Run your cfmigrations from CommandBox.

install commandbox-migrations

CFConfig

Import, export, transfer and manage CF engine configuration. Docs ↗

install commandbox-cfconfig

DocBox

Generate API docs from the command line via DocBox.

install commandbox-docbox

Bullet Train

A zsh-inspired prompt customizer for CommandBox.

install commandbox-bullet-train
Your project, declared

Two small files describe everything.

Dependencies live in box.json. Server settings live in server.json. Commit them and anyone can run box install to match your setup.

Built on BoxLang

One command to add. One to upgrade.

CommandBox is a BoxLang module, so it installs and updates the same way as every other module.

Install

With BoxLang installed, run bx-module install bx-cli and the box command is ready.

Upgrade

Stay current with bx-module update bx-cli. Pin a version when you need to.

Written in BoxLang

Commands, tasks and extensions are BoxLang code, so everything you know applies.

ForgeBox

Every package, one registry.

ForgeBox is where BoxLang and CFML packages live. box install pulls from it by default, and box publish puts yours there.

coldboxMVC framework
box install coldbox
testboxTesting framework
box install testbox
cbsecuritySecurity module
box install cbsecurity
cbvalidationValidation module
box install cbvalidation
qbQuery builder
box install qb
cbwireReactive components
box install cbwire
Free course

15 lessons from first command to CI.

Basics, package management, servers, automation and shipping. Runnable examples and a recap in every lesson.

  • ✓Install and verify
  • ✓The shell and REPL
  • ✓Your first box.json
  • ✓Installing packages
  • Versions and semver
Professional open source

Free and open source. Professional when you need it.

CommandBox is free under Apache 2.0. The professional version, CommandBox Pro, adds server features for teams running BoxLang in production, with support from the people who build it.

Free and open source

CommandBox

Apache 2.0. Everything you need to build, run and ship.

  • Package management with ForgeBox
  • Embedded servlet engine and web server
  • JRE and JDK auto-management
  • Portable server.json
  • Every CLI module
  • Community help on Slack and the forums
Get started →
Professional

CommandBox Pro

Included with BoxLang Essentials, BoxLang+ and BoxLang++.

Essentials BoxLang+BoxLang+ BoxLang++BoxLang++
  • Everything in the free version
  • Multi-site management and deployment
  • Multi-site SSL management
  • OS service manager
  • Server config sync with ForgeBox
  • Premium BoxLang modules and professional support
Compare plans ↗
Need more than a plan?Consulting, custom development, training and architecture reviews from the team behind BoxLang. consulting@ortussolutions.com
Talk to Ortus ↗
Part of the BoxLang ecosystem

Works with everything you already use.

FAQ

Common questions.

How do I install CommandBox?

Install BoxLang, then run bx-module install bx-cli. The command is the same on every OS.

What do I need installed first?

BoxLang, which needs Java 21 or newer. The quick installer can fetch Java for you with --with-jre.

Where do packages come from?

ForgeBox, the registry at forgebox.io. box install pulls from it by default, and you can also install from Git, a URL or a local folder.

Where do I download a release?

Every build is on downloads.ortussolutions.com. The latest release is v7.0.0.

What are CommandBox Pro features?

Extra server features such as multi-site management, SSL, an OS service manager and config sync. They are included with every BoxLang plan (Essentials, BoxLang+ and BoxLang++). CommandBox Pro is not sold on its own.

Where is the documentation?

At commandbox.ortusbooks.com. This site has the course and the install guide.

Will my box.json and server.json keep working?

Yes. Your project files stay the same as you move to the BoxLang based CommandBox.

Free & open source

Your first command in a minute.

Install BoxLang, add CommandBox with one command, and start building. Free and open source, backed by Ortus Solutions.