# portlivo: dev ports from Terminal and Shortcuts Source: https://portlivo.com/features/cli · Updated 2026-11-04 Sometimes your hands are already in the terminal. The same project-aware list and safe kill are there too. **In short:** In **Settings**, press **Copy Install Command** next to portlivo and paste it into Terminal. Then `portlivo ports` lists your dev servers, `portlivo kill 3000` stops one and `portlivo open 5173` opens it. The Shortcuts app gets List Dev Ports, Free a Port and Open Port. ## The commands | Command | Does | | --- | --- | | `portlivo ports` | Lists dev servers: port, PID, uptime, name and command, with `[network]` on exposed ones | | `portlivo ports --all` | Includes system processes | | `portlivo kill ` | Stops what’s listening, with SIGTERM; for a container or service it tells you the right stop command | | `portlivo open ` | Opens `http://localhost:` in your browser | | `portlivo mcp` | Runs the [MCP server](https://portlivo.com/features/mcp), for Claude Code, Cursor and other agents | The install command links the app into `/usr/local/bin`; it’s the app itself, so it updates with the app. ## As a Raycast script command Save this in your Raycast script commands folder to free a port from Raycast: ``` #!/bin/bash # @raycast.schemaVersion 1 # @raycast.title Free Port # @raycast.mode compact # @raycast.argument1 { "type": "text", "placeholder": "port" } /usr/local/bin/portlivo kill "$1" ``` ## Shortcuts actions - **List Dev Ports** returns each port with its name, ready for the next action. - **Free a Port** stops whatever holds a port, with the same checks as the app. - **Open Port in Browser** opens localhost on that port. - Siri and Spotlight know them too: “Free a port with Portlivo”. ## Questions people ask **Does portlivo need the app running?** No. It scans on its own and exits. It needs a license or an active trial, like the app. **Why portlivo and not pp?** macOS already ships a `pp` command, so the short name was taken.