Installation
Get up and running with ColdBox easily.
Last updated
Was this helpful?
Get up and running with ColdBox easily.
Last updated
Was this helpful?
Welcome to the world of ColdBox!
We are excited you are taking this development journey with us. Before we get started with ColdBox let's install CommandBox CLI, which will allow you to install/uninstall dependencies, start servers, have a REPL tool and much more.
ColdBox has the following supported IDE Tools:
Sublime -
VSCode -
CFBuilder -
Note : However, you can use your own ColdFusion server setup as you see fit. We use CommandBox as everything is scriptable and fast!
No Java Runtime (80mb)
Embedded Runtime (120mb)
Once you download and expand CommandBox you will have the box.exe
or box
binary, which you can place in your Windows Path or *Unix /usr/bin
folder to have it available system wide. Then just open the binary and CommandBox will unpack itself your user's directory: {User}/.CommandBox
. This happens only once and the next thing you know, you are in the CommandBox interactive shell!
We will be able to execute a-la-carte commands from our command line or go into the interactive shell for multiple commands. We recommend the interactive shell as it is faster and can remain open in your project root.
To get started open the CommandBox binary or enter the shell by typing box
in your terminal or console. Then let's create a new folder and install ColdBox into a directory.
That's it! CommandBox can now track this version of ColdBox for you in this directory.
AdvancedScript (default
): A script based advanced template
elixir : A ColdBox Elixir based template
ElixirBower : A ColdBox Elixir + Bower based template
ElixirVueJS : A ColdBox Elixir + Vue.js based template
rest: A RESTFul services template
rest-hmvc: A RESTFul service built with modules
Simple : A traditional simple template
SuperSimple : The bare-bones template
Type coldbox create app
help in CommandBox to get tons of help for scaffolding apps.
To uninstall ColdBox from this application folder just type uninstall coldbox
.
To update ColdBox from a previous version, just type update coldbox
.
The first step in our journey is to CommandBox. is a ColdFusion (CFML) Command Line Interface (CLI), REPL, Package Manager and Embedded Server. We will be using CommandBox for almost every excercise in this book and it will also allow you to get up and running with ColdFusion and ColdBox in a much speedier manner.
You can download CommandBox from the official site: and install in your preferred Operating System (Windows, Mac, *unix). CommandBox comes in two flavors:
So make sure you choose your desired installation path and follow the instructions here:
CommandBox will resolve coldbox
from FORGEBOX (), use the latest version available, download and install it in this folder alongside a box.json
file which represents your application package.
CommandBox comes with a coldbox create app
command that can enable you to create application skeletons using one of our official skeletons or by creating application template:
You can find many scaffolding templates for ColdBox in our Github organization: