Private packages (modules) have a namespaced slug, such as foo@myusername. By default, Commandbox installs them to a folder that matches the slug like this: /modules/foo@myusername/
To use a friendlier folder name, add packageDirectory to the package’s own box.json:
{
"slug": "fooModule@myusername",
"packageDirectory": "foo"
}
CommandBox will then install it into modules/foo/, which looks much cleaner.