Repository navigation
Command line
Ali Çömez | Slaweally edited this page Dec 1, 2026
·
2 revisions
Settings → Command line → tick the box. Locarust adds C:\Locarust\bin\shims to your user PATH once. Open a new terminal and these commands point to the versions selected in Locarust:
php · composer · mysql · mysqldump · mariadb · psql · pg_dump · createdb · redis-cli · node · npm · npx · corepack · python · go · gofmt
Switching a version in Components only rewrites the shims — no sign-out, no PATH change.
Open terminal starts a command window in www with the shims first on PATH, even without the checkbox.
php -v
composer create-project laravel/laravel my-app
cd my-app && php artisan migrate
mysql -u root -e "SHOW DATABASES"
mysqldump -u root my_shop > my_shop.sql
psql -U postgres-
phpin the terminal uses the same php.ini settings as the sites (extensions, limits). - The terminal
phpis the default PHP version. For a project on another version, call that version directly:C:\Locarust\bin\php\<version>\php.exe. - Untick the box to remove the shims from PATH; other PATH entries are never touched.
Locarust · MIT © Ali Çömez (Slaweally) · Powered by Megabre · Download · Guide · Discussions
Getting started
Using Locarust
- Projects
- Apps
- Configuration
- Components and PHP extensions
- Databases
- Backups
- Publishing to a server
- Local HTTPS
- Command line
- Settings
Help
🇹🇷 Türkçe