Installation
How to install the BoxLang IntelliJ plugin — from JetBrains Marketplace, manual installation from disk, and post-installation configuration.
Install the BoxLang IDE plugin to add BoxLang language support to your JetBrains IDE.
Requirements
Before installing, ensure your system meets these requirements:
IntelliJ IDEA
2024.2 or later
Java
21 or later (for running BoxLang)
Operating System
Windows, macOS, or Linux
The plugin works with both IntelliJ IDEA Community and IntelliJ IDEA Ultimate.
Install from JetBrains Marketplace (Recommended)
Method 1: From Within the IDE
Open IntelliJ IDEA
Open Settings (Windows/Linux) or Preferences (macOS)
Keyboard shortcut: Ctrl+Alt+S (Windows/Linux) or Cmd+, (macOS)
Navigate to Plugins
Click the Marketplace tab
Search for
BoxLang IDEClick Install next to the plugin
Click Restart IDE when prompted
Method 2: From the JetBrains Website
Visit the BoxLang IDE plugin page
Click Install to IDE
Select your IntelliJ IDEA installation
Follow the prompts to complete installation
Restart the IDE when prompted
Manual Installation from Disk
If you cannot access the Marketplace or need to install a specific version:
Download the Plugin
Visit the GitHub Releases page
Download the latest
.zipfile (e.g.,intellij-boxlang-1.0.0.zip)
Install in IntelliJ
Open IntelliJ IDEA
Open Settings (Windows/Linux) or Preferences (macOS)
Navigate to Plugins
Click the gear icon ⚙️ in the top-right
Select Install Plugin from Disk...
Browse to and select the downloaded
.zipfileClick OK
Restart the IDE when prompted
Post-Installation Setup
After installing the plugin, configure your BoxLang environment:
Step 1: Configure BoxLang Settings
Open Settings → Languages & Frameworks → BoxLang
Configure the following:
Runtime Configuration:
BoxLang Home — Directory for BoxLang configuration (default:
~/.boxlang)Java Home — Path to Java 21+ installation (leave empty for system default)
Use .bvmrc — Enable to read version from
.bvmrcfiles
LSP Configuration:
Max Heap Size — Memory for LSP server (default: 512 MB, range: 64-8192 MB)
LSP Modules — Additional BoxLang modules (e.g.,
bx-esapi, bx-pdf)
Click Apply
Step 2: Download BoxLang Runtime
The plugin will prompt you to download the BoxLang runtime:
Click Download next to BoxLang Runtime
Select a version (recommended: Latest)
Wait for the download to complete
The plugin automatically downloads the LSP and debugger modules
Step 3: Create Your First BoxLang File
Right-click in the Project view
Select New → BoxLang File
Choose BoxLang Script
Name it
HelloWorldAdd this code:
Click the green play icon ▶️ in the gutter to run it
Verify Installation
Check Plugin Status
Open Settings → Plugins → Installed
Verify BoxLang IDE appears in the list
Check that it's enabled (checkbox is checked)
Check BoxLang Runtime
Open Settings → Languages & Frameworks → BoxLang
Verify the status panels show:
BoxLang Runtime: Installed (with version number)
LSP Module: Installed (with version number)
Debugger Module: Installed (with version number)
Test Code Intelligence
Create a new BoxLang file
Type
arrayand press Ctrl+SpaceYou should see completion suggestions like
arrayAppend(),arrayLen(), etc.
Test Run Configuration
Create a simple script:
Click the green play icon ▶️ in the gutter
Select Run 'filename'
The Run tool window should show "Test successful!"
Troubleshooting Installation
Plugin Not Appearing in Marketplace
Symptoms: Cannot find "BoxLang IDE" in the Marketplace
Solutions:
Verify your IntelliJ version is 2024.2 or later
Check your internet connection
Try installing manually from disk (see above)
Visit the plugin page directly
Installation Fails
Symptoms: Error during installation or plugin doesn't load
Solutions:
Check IDE logs: Help → Show Log in Finder/Explorer
Verify you have write permissions to the plugins directory
Try installing manually from disk
Restart the IDE and try again
Plugin Loads but Features Don't Work
Symptoms: Plugin is installed but no code intelligence or run configurations
Solutions:
Verify BoxLang runtime is downloaded in settings
Check Java 21+ is installed and configured
Restart the IDE
Check IDE logs for errors
Java Version Issues
Symptoms: "Java 21 or later is required"
Solutions:
Install Java 21 or later:
Configure Java Home in BoxLang settings
Or leave Java Home empty to use system default
Updating the Plugin
Automatic Updates
IntelliJ automatically checks for plugin updates:
Open Settings → Plugins → Installed
If an update is available, click Update
Restart the IDE when prompted
Manual Updates
To manually check for updates:
Open Settings → Plugins → Installed
Click the gear icon ⚙️
Select Check for Updates
If an update is available, click Update
Downgrading
To install an older version:
Uninstall the current version
Download the desired version from GitHub Releases
Install manually from disk (see above)
Uninstalling the Plugin
Open Settings → Plugins → Installed
Find BoxLang IDE in the list
Click the gear icon ⚙️ next to it
Select Uninstall
Restart the IDE when prompted
Clean Up Cache (Optional)
To remove all cached BoxLang components:
Next Steps
After installation:
Overview — Learn about all plugin features
Settings Reference — Configure the plugin
Run Configurations — Run BoxLang scripts
Debugging — Debug BoxLang applications
TestBox Integration — Run and debug tests
Getting Help
If you encounter issues:
Documentation: boxlang-ide.ortusbooks.com
GitHub Issues: github.com/ortus-boxlang/intellij-boxlang/issues
Community Forum: community.ortussolutions.com
Slack: boxteam.ortussolutions.com
Last updated
Was this helpful?