BoxLang Quick Installer

The BoxLang Quick Installer is the fastest way to get started with BoxLang.

BQI

The BoxLang Quick Installer provides convenient installation scripts for Mac, Linux, and Windows systems to get BoxLang up and running in minutes. Choose between a single-version installer for simplicity or BVM (BoxLang Version Manager) for advanced version management.

🚀 Quick Start

Mac and Linux:

Windows:

Verify Installation

📋 Prerequisites

The installer will attempt to install any missing prerequisites automatically, but there are some that will need to be installed manually depending on your platform.

  • bash - Required shell execution environment, especially on Alpine Linux

  • curl - For downloading releases

  • PowerShell 6+ - Required for Windows installations

Alpine Linux : You will need to install bash manually as it is not included by default.

Requirements

The following are automatically installed for you, but you can install them manually if you prefer.

  • Java 21+ - JRE or JDK

  • unzip - For extracting downloaded files

  • jq - For parsing JSON (BVM only)

Manual Installation

Remember, we do this automatically for you, but if you want to do it manually, here are the commands:

macOS (with Homebrew):

Ubuntu/Debian:

RHEL/CentOS/Fedora:

Alpine Linux:

📋 Table of Contents

📦 Installation Options

Choose this if you:

  • 📌 Need one BoxLang version system-wide

  • 🎯 Want the simplest possible installation

  • 🏢 Are setting up production servers

  • ⚡ Want the fastest installation with minimal overhead

Features:

  • ✅ Installs latest stable BoxLang version

  • ✅ Sets up BoxLang runtime and MiniServer

  • ✅ Includes all helper scripts

  • ✅ Automatic PATH configuration

  • ✅ User or system-wide installation options

Option 2: BVM (BoxLang Version Manager)

Choose this if you:

  • 🔄 Work on multiple projects needing different BoxLang versions

  • 🧪 Want to test code against different BoxLang releases

  • 🚀 Need to switch between stable and snapshot versions

  • 📦 Want centralized management of BoxLang installations

  • 🛠️ Are a BoxLang developer or advanced user

Features:

  • ✅ Install and manage multiple BoxLang versions

  • ✅ Switch between versions with one command

  • ✅ List local and remote versions

  • ✅ Clean uninstall capabilities

  • ✅ Health check and diagnostics

⚙️ Command Options

Here are the available options for the install command.

Option
Short
Description

--help

-h

Show this help message

--uninstall

Remove BoxLang from the system

--check-update

Check if a newer version is available

--system

Force system-wide installation (requires sudo)

--force

Force reinstallation even if already installed

--with-commandbox

Install CommandBox without prompting

--without-commandbox

Skip CommandBox installation

--with-jre

✨ Automatically install Java 21 JRE if not found

--without-jre

✨ Skip Java installation (manual installation required)

--yes

-y

Use defaults for all prompts (installs CommandBox and Java)

Notes

  • Use --system when you want to install BoxLang for all users on the system

  • The --force option is useful when you need to reinstall or update an existing installation

  • --yes automatically accepts all defaults, including installing CommandBox and Java

  • --with-commandbox and --without-commandbox give you explicit control over CommandBox installation

  • --with-jre automatically installs OpenJDK 21 JRE if Java 21+ is not found

  • --without-jre skips Java installation entirely (you must install Java manually)

  • ✨ The installer can detect your OS (macOS/Linux/Alpine) and architecture (x64/ARM64) for Java installation

  • 🐋 Container-friendly - Works in Docker containers with minimal base images

🛠️ What Gets Installed

Core Components

  • BoxLang Runtime (boxlang, bx) - The main BoxLang Runtime Engine

  • BoxLang MiniServer (boxlang-miniserver, bx-miniserver) - Lightweight web application server

Helper Scripts

  • install-bx-module - Install modules from ForgeBox.

  • install-boxlang - Single-version BoxLang installer, so you can reinstall, install specific versions, uninstall and more.

Directory Structure

📖 Help Command

Always make sure to run the --help command to get the latest and greatest command usage.

🎯 Detailed Usage

Single-Version Installer Commands

Module Management

🌐 Running Applications

BoxLang Runtime

BoxLang MiniServer

🔧 Configuration

Environment Variables

🐛 Troubleshooting

Common Issues

BoxLang not found after installation:

Java not found:

Permission denied errors:

Module installation fails:

Getting Help

📚 Resources

Documentation

Community

Examples

Testing

Help test new features and releases:

📄 License

This project is licensed under the Apache License, Version 2.0.

🆘 Support

Community Support (Free)

  • 🌐 Website: https://boxlang.io

  • 📖 Documentation: https://boxlang.ortusbooks.com

  • 💾 GitHub: https://github.com/ortus-boxlang/boxlang

  • 💬 Community: https://community.ortussolutions.com/

  • 🧑‍💻 Try: https://try.boxlang.io

  • 📧 Mailing List: https://newsletter.boxlang.io

Professional Support

  • 🫶 Enterprise Support: https://boxlang.io/plans

  • 🎓 Training: https://learn.boxlang.io

  • 🔧 Consulting: https://www.ortussolutions.com/services/development

  • 📞 Priority Support: Available with enterprise plans


Made with ♥️ in USA 🇺🇸, El Salvador 🇸🇻 and Spain 🇪🇸

Last updated

Was this helpful?