Loex is a powerful CLI tool for managing local development environments. Easily start, stop, and manage Frontend, Backend, and Database services across multiple projects with simple commands.
- π Multi-Project Management: Register and manage multiple projects
- π One-Command Launch: Start all services with a single command
- π Auto-Detection: Automatically detects service types and suggests commands
- π― Service Isolation: Manage frontend, backend, and database services separately
- π Process Monitoring: Track running services with PID management
- π Comprehensive Logging: Separate logs for each service
- π§ββοΈ Interactive Setup: Wizard-guided project configuration
brew tap kjunh972/loex && brew install loexFor other installation methods, see GitHub Releases.
# Update to latest version
loex updateloex init myproject# Auto-detect services (recommended)
cd /path/to/your/project
loex config detect myproject
# Interactive wizard
loex config wizard myprojectloex start myproject# Check all services status
loex status myproject
# View detailed project info with service status
loex list myprojectloex stop myprojectκΈ°λ³Έ κ΄λ¦¬:
loex init [project]- νλ‘μ νΈ μ΄κΈ°νloex list/loex list [project]- νλ‘μ νΈ/μλΉμ€ λͺ©λ‘loex remove [project]- νλ‘μ νΈ μμ loex rename [old] [new]- νλ‘μ νΈ μ΄λ¦ λ³κ²½
μλΉμ€ μ€μ :
loex config detect [project]- μλ κ°μ§ (κΆμ₯)loex config wizard [project]- λνν μ€μ loex config [project] [service] [command]- μλ μ€μ loex config edit [project] [service]- κΈ°μ‘΄ μ€μ μμ loex config delete [project] [service]- μλΉμ€ μμ
μλΉμ€ μ€ν:
loex start [project]- λͺ¨λ μλΉμ€ μμloex start [project] [service]- κ°λ³ μλΉμ€ μμloex stop [project]- λͺ¨λ μλΉμ€ μ€μ§loex stop [project] [service]- κ°λ³ μλΉμ€ μ€μ§loex restart [project]- λͺ¨λ μλΉμ€ μ¬μμloex status [project]- μλΉμ€ μν νμΈ
μμ€ν :
loex update- μ΅μ λ²μ μΌλ‘ μ λ°μ΄νΈ
# Initialize a new project
loex init [project-name]
# List all projects
loex list
# Show detailed project info with service status
loex list [project-name]
# Remove a project
loex remove [project-name]
# Rename a project
loex rename [old-name] [new-name]# Auto-detect services in current directory (recommended)
loex config detect [project-name]
# Interactive configuration wizard
loex config wizard [project-name]
# Manual configuration
loex config [project-name] [service] [command]
# Edit existing service configuration
loex config edit [project-name] [service]
# Delete service configuration
loex config delete [project-name] [service]# Start all services
loex start [project-name]
# Start specific service
loex start [project-name] [service-name]
# Examples:
loex start myapp # Start all services
loex start myapp frontend # Start only frontend
loex start myapp backend # Start only backend
loex start myapp db # Start only database
# Stop all services
loex stop [project-name]
# Stop specific service
loex stop [project-name] [service-name]
# Restart all services
loex restart [project-name]
# Check service status
loex status [project-name]Loex automatically detects common project types and suggests appropriate commands when using the config detect or config wizard commands.
π‘ Important: Run the command from your project's root directory to enable auto-detection. Loex analyzes files in the current directory to suggest the best commands for each service type.
- React:
npm start(detectsreactin package.json) - React Native:
npx react-native start - Vue.js:
npm run dev(detectsvuein dependencies) - Angular:
npm start(detects@angular/core) - Next.js:
npm run dev(detectsnext)
- Go:
go run main.goorgo run . - Java/Spring:
mvn spring-boot:runor./gradlew bootRun - Python/Django:
python manage.py runserver - Python/Flask:
python app.py - Rust:
cargo run - JAR files:
java -jar [filename].jar
- Local MySQL:
brew services start mysql(macOS) orsudo systemctl start mysql(Linux) - Local PostgreSQL:
brew services start postgresql(macOS) orsudo systemctl start postgresql(Linux) - Docker Compose:
docker-compose up -d - Docker MySQL:
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysql:8.0 - Docker PostgreSQL:
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=password postgres:15
# Initialize project
loex init webapp
# Auto-detect services (recommended)
cd /path/to/your/project
loex config detect webapp
# Start everything
loex start webapp# Initialize and configure with wizard
loex init ecommerce
loex config wizard ecommerce
# Or use auto-detection (recommended)
cd /path/to/your/project
loex config detect ecommerce# Initialize project
loex init myapp
# Configure services manually
loex config myapp frontend "npm start"
loex config myapp backend "./gradlew bootRun"
loex config myapp db "brew services start mysql"
# Start everything
loex start myapp# Update loex to latest version
loex update
# Check version information
loex version
loex -vWhen using loex list [project], you'll see service status indicators:
- running β: Service is currently running
- stopped β: Service is stopped
- unknown ?: Status cannot be determined
Example output:
Project: myproject
Services: 3
frontend: running β
Command: npm start
Directory: /path/to/frontend
backend: stopped β
Command: ./gradlew bootRun
Directory: /path/to/backend