Commandbox Install in Ubuntu

Run the following command in CLI prompt to install Commandbox:
/usr/bin/curl -fsSl https://downloads.ortussolutions.com/debs/gpg | sudo apt-key add - && echo "deb https://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list && /usr/bin/apt update && /usr/bin/apt install apt-transport-https commandbox -y

Run the following command in CLI prompt to initialize Commandbox for the first time to install Commandbox in the default user's home directory:

/usr/local/bin/box exit

Run the following command in CLI prompt to initialize Commandbox for the first time to install Commandbox in a specified directory (/opt/hermes/webapps/Commandbox:

/usr/local/bin/box -commandbox_home=/opt/hermes/webapps/Commandbox exit