Viewing Current Versions
loom current
Display the currently active version for all runtimes. Syntax:php=<version>- Current PHP line (e.g.,8.5,8.4)node=<version>- Current Node.js version (e.g.,23.5.0,20.18.1)mysql=<version>- Current MariaDB line (e.g.,11.7,10.11)nginx=<version>- Current Nginx version (e.g.,1.27.3)
If a runtime is not installed or no version is selected, it will display
- instead of a version number.Listing Installed Versions
loom list
List all installed versions for a specific runtime. Syntax:php- PHP versionsnode- Node.js versionsmysqlormariadb- MariaDB versionsnginx- Nginx versions
List PHP Versions
How PHP versions are organized
How PHP versions are organized
Envloom uses PHP “lines” (major.minor) rather than full versions. Each line may contain multiple patch versions, but only the latest is kept.For example:
- Line
8.5might contain PHP 8.5.2 - Line
8.4might contain PHP 8.4.5
8.5), not the full version.List Node.js Versions
Node.js versions are managed through NVM (Node Version Manager) which must be installed. If NVM is not available, you’ll see an error: “Node runtime manager is not available”.
List MariaDB Versions
List Nginx Versions
Switching Runtime Versions
loom php
Switch the globally active PHP version. Syntax:The PHP line to activate (e.g.,
8.5, 8.4, 8.3)Must be an installed version. Use loom list php to see available versions.- Updates the
bin/php/currentjunction to point to the selected version - Updates the PHP configuration state (
bin/php/_state.json) - Refreshes system PATH to include the new PHP version
- The change is immediately reflected in the desktop app
loom node
Switch the globally active Node.js version. Syntax:Full version number (e.g.,
23.5.0) or major version (e.g., 23, 22)If you specify a major version, Envloom will use the latest installed version matching that major.- Runs
nvm use <version>to activate the version - Updates the
bin/node/currentsymlink - Refreshes system PATH
- The change is reflected in both CLI and desktop app
Node.js version switching requires NVM (Node Version Manager). Envloom installs NVM automatically during initial setup.
How Versions Work
PHP Version Structure
Envloom organizes PHP installations by “line” (major.minor):Each PHP line is assigned a unique FastCGI port based on the version:
- Base port:
9000(configurable) - Line
8.4→ port9084 - Line
8.5→ port9085
Node.js Version Management
Node.js uses NVM for version management:MariaDB Version Structure
Shims and PATH
Envloom creates command shims in thebin directory:
PHP Shims:
php.cmd→bin/php/current/php.exephp84.cmd→bin/php/8.4/php.exephp85.cmd→bin/php/8.5/php.exe
mysql.cmd→bin/mariadb/current/bin/mysql.exemariadb.cmd→bin/mariadb/current/bin/mariadb.exemysqladmin.cmd→bin/mariadb/current/bin/mysqladmin.exe
composer.cmd→ runsphp composer.pharnginx.cmd→bin/nginx/current/nginx.exeloom.cmd→ calls Envloom with--cliflag
Envloom manages PATH automatically. You only need one PATH entry pointing to the
bin directory.Installing New Versions
The CLI does not support installing new runtime versions. Use the desktop application to:- Open Envloom
- Navigate to the runtime page (PHP, Node, or MariaDB)
- Click “Add Version” or “Install”
- Select and install the desired version
Practical Workflows
Check and Switch PHP Version
Switch Node for a Project
Quick Runtime Status
Troubleshooting
Error: php line X.Y is not installed
Error: php line X.Y is not installed
The specified PHP version is not installed.Solution:
- Run
loom list phpto see available versions - Install the version via the desktop app if needed
- Try again with an installed version
Error: Node runtime manager is not available
Error: Node runtime manager is not available
NVM is not installed or not properly configured.Solution:
- Open the Envloom desktop app
- Navigate to the Node page
- The app will install NVM automatically
- Restart your terminal and try again
Changes not reflected in terminal
Changes not reflected in terminal
Your current terminal session may have cached the old PATH.Solution:
- Close and reopen your terminal
- Or run:
refreshenv(if using chocolatey) or restart the shell
Next Steps
Site Management
Learn how to link projects and manage local development sites using the CLI