# Specify working directoryopenportal -d /path/to/projectopenportal --directory /path/to/project# Or pass directory as argumentopenportal /path/to/project
# Start only OpenCode serveropenportal run# Server only with custom portopenportal run --opencode-port 5000# Server only in specific directoryopenportal run -d ./my-project
# List all running instancesopenportal list# Stop instance in current directoryopenportal stop# Stop specific instance by nameopenportal stop --name my-instance# Clean up stale entriesopenportal clean
If OpenPortal detects an instance already running for the directory, it will display the existing instance information instead of starting a new one.To stop the existing instance: