CLI (loom)
Envloom provides a CLI entrypoint named loom for common local stack tasks.
It is designed to complement the UI, not replace it.
Command reference (initial)
Section titled “Command reference (initial)”Show current runtime selection
Section titled “Show current runtime selection”loom currentUse this first when something looks wrong. It confirms what Envloom considers “current” on your machine.
List versions for a runtime
Section titled “List versions for a runtime”loom list phploom list nodeLink the current project to Envloom with a PHP version
Section titled “Link the current project to Envloom with a PHP version”loom link 8.5Run this from your project directory. Envloom links that project so it can be served by Nginx using the specified PHP version.
Unlink the current project
Section titled “Unlink the current project”loom unlinkToggle local SSL
Section titled “Toggle local SSL”loom ssl onloom ssl offSwitch PHP version
Section titled “Switch PHP version”loom php 8.5Switch Node.js version
Section titled “Switch Node.js version”loom node 22loom node 22.14.0Practical examples
Section titled “Practical examples”Check environment before running project scripts
Section titled “Check environment before running project scripts”loom currentloom node 22loom php 8.5Link the current project with PHP 8.5
Section titled “Link the current project with PHP 8.5”loom link 8.5loom unlinkToggle local HTTPS during debugging
Section titled “Toggle local HTTPS during debugging”loom ssl offloom ssl onCLI troubleshooting
Section titled “CLI troubleshooting”- If
loomis not recognized, restart your terminal and verify Envloom’s CLI/shim installation. - If a command succeeds but behavior does not change, run
loom currentto confirm the active state. - If a runtime/service fails after switching, inspect Envloom logs.