A few weeks ago a new version (v3.4.0) of Enonic CLI has been released (release notes).
The new version supports overriding default CLI home directory via an environment variable. A huge “thank you” goes out to Eirik Stanghelle Morland from our friends at Frontcom for contributing this improvement.
Mac/Homebrew users
In this release we have migrated from the old format (Taps) to the new format (Casks).
If you have installed CLI via Brew then, rather than upgrading, you’ll need to first uninstall the previous version: