Blog

Brad Wood

January 03, 2018

Spread the word


Share your thoughts

The package link and package unlink commands are fairly new to CommandBox and here's a brief screencast that shows you a real life use case for them.  The package link command will create a symlink from your current directory into your CommandBox's system modules folder and reload your shell. 

This is perfect to do some quick on-the-fly testing of a module that you're in the middle of developing without requiring you to publish your module or do a full installation every time you make a chance.  Just link the module in and you can test live changes as you edit the code.

Even though I didn't show it in the video, you can also use the link command to link your current working directory to a specific target location like a ColdBox or ContentBox app.  This also lets you do quick and easy testing of modules inside of a web application as well.

Here's the screencast:

Add Your Comment

Recent Entries

MatchBox and WebAssembly: Running BoxLang in the Browser and at the Edge

MatchBox and WebAssembly: Running BoxLang in the Browser and at the Edge

The MatchBox open beta is live at https://boxlang.ortusbooks.com/boxlang-framework/matchbox, and it brings something genuinely new to the BoxLang ecosystem: a path into WebAssembly.

That means BoxLang code can now move into browser applications, static-site deployments, edge runtimes, and WASI-style containers - without requiring a JVM. The feature is still beta, but the core direction is already useful: write BoxLang, compile it with MatchBox, and ship the generated WASM artifact to wherever a small portable runtime makes sense.

Jacob Beers
Jacob Beers
June 04, 2026