localhost:

Changelog

What’s new in localhost

Every release, newest first. Downloads are on GitHub Releases.

v0.6.1

Dismiss a Failed Service

  • Dismiss a Failed Service. A Failed Service now has Dismiss next to Start (also in its context menu, the command palette and on ⌘. / Ctrl+.). It marks the Service Stopped and clears the red marker from the row, the sidebar and the menu bar or tray. Its last Run and log are kept.
  • Stop All clears failures too. Stop All is available while any Service of the Project has Failed, and leaves every Service Stopped, including ones that had Exited.
v0.6.0

Manage a connected Machine's Projects from this app

  • Manage a connected Machine’s Projects. You can now add, import, edit, delete and favourite Projects on a connected Machine, just as you do on this computer. That includes editing Services and environment Profiles. Both apps have it.
  • A folder picker that browses the Machine. Add Project… and Import Project… open a picker that lists folders on the Machine, starting at its home. You can type a path, follow the breadcrumb, go Up or Home, and show hidden folders. Import looks for .yaml / .yml Project files. Scanning and Suggestions run on the Machine, so they see its package.json, Compose files and so on.
  • Secrets stay on the Machine. Values you type in an editor go over the existing connection and are written only to the Machine’s secret store. Nothing of a Machine’s Projects is kept on this computer.
  • Older Machines stay view-and-run. If the Machine is running an older localhost, you can still see its Projects and start and stop Services. Managing them asks you to update localhost on that Machine. Both computers need to be on this release to manage Projects over the connection.
  • The docs now describe managing a Machine’s Projects.
v0.5.5

A short first run that gets you to your first Service

  • A welcome on the first launch. Three short steps explain the basics: a Project is a folder, a Service is a command that keeps running (like pnpm dev or docker compose up), and the port tells localhost it’s up. The last step ends in Add Project…, which opens the usual scan and Suggestions review. You can skip it at any step, and once it’s seen or skipped it never opens again.
  • A clearer empty window. With no Projects yet, the window says Add Your First Project, with one line on what a Project is and one main Add Project… button. Import Project… and Connect Your Agents… are quieter links under it. On macOS, the sidebar + now opens the same New Project… / Import Project… menu as on Linux and Windows.
  • A Get started checklist. Once you have a Project, a small checklist at the foot of the sidebar tracks adding a Project, adding a Service, starting your first Service and, optionally, connecting your agents. Rows tick from what you’ve actually done, and an open row takes you to the next step. Close it with ×, and it goes away by itself once everything is ticked.
  • Connect your agents no longer opens by itself. It’s offered from the checklist, and it’s still in Settings › Agents, the command palette and the empty window.
  • Nothing changes if you already use localhost. If you already have Projects, or you’ve seen the agents sheet before, you won’t see the welcome or the checklist.
  • The docs now describe the first run, Compose import grouping, Run before and the Python environment field.
v0.5.6

See the welcome and Get started checklist again from Help

  • See the welcome and Get started checklist again. On macOS, Help › Show Welcome… and Help › Show Get Started Checklist sit below Keyboard Shortcuts, and both are in the command palette. On Linux and Windows, the Keyboard Shortcuts button at the foot of the sidebar is now a ? Help menu, with Keyboard Shortcuts and the same two actions; they’re in the palette there as well.
  • Show Welcome… opens the welcome even when you already have Projects, and doesn’t change anything. Show Get Started Checklist brings the checklist back, and it stays until you close it with ×, even if every row is already ticked.
  • The quick-start now says how to see the welcome again.
v0.5.3

The macOS window fits the screen again

  • The macOS window fits the screen again. Since 0.5.1, while the anonymous usage data notice was showing, the main window became taller than the screen: it couldn’t be resized or moved down, and sheets such as Import Project opened off-screen. The window now resizes normally. If it still opens too tall, double-click its title bar or choose Window › Zoom once.
v0.5.4

A detected Python virtualenv, and Run before on a Service

  • A detected Python virtualenv is applied for you. When you add a Project, a Python command such as uvicorn or flask gets the nearest real .venv, venv or virtualenv attached, and the command stays clean. Edit Service and the import review show Using detected virtualenv (or the folder’s name). localhost puts that environment first on PATH and sets VIRTUAL_ENV when the Service starts. You can point the field at another folder or turn it off. Commands that already use uv, Poetry or Pipenv, or that already name the venv’s binary, are left as they are. Services you already have are not rewritten on a re-scan.
  • Run before, on a Service. An optional command that runs in the same shell as the Service, before it. Use it for nvm use, source .env.sh, or anything else that should be in place first. If it fails, the Service does not start, and the log says so.
v0.5.1

Anonymous usage data, on by default and easy to turn off

  • Anonymous usage data, so we can see retention. The macOS, Linux and Windows apps send two events, app_first_open and app_opened, to a PostHog project kept apart from the website’s. Each event carries only version, OS, architecture, install channel and an anonymous id: no paths, Project or Service names, commands or logs. The localhost command and localhostd send nothing. See Privacy and Analytics.
  • On by default, with a clear way out. The first open says so once at the foot of the sidebar. Settings › General has Share anonymous usage data, and DO_NOT_TRACK=1 or LOCALHOST_TELEMETRY=0 turns it off for that session. Debug builds and CI never send.
  • The website no longer autocaptures. It still records page views and the explicit download and install clicks; the privacy page is linked from the footer.
v0.5.2

Merge Suggestions and start after another when you add a Project

  • Compose files become one Infra Service. A Project with a Compose file that has two or more services now suggests a single Infra Service that runs docker compose up, checked by default. The individual containers stay available under N more found, so you can still add them one by one if you want.
  • Merge Suggestions in the review. Select a few detected Services and merge them into one, with a name and command you edit. Useful when Postgres and Temporal should be one docker compose up, or when a README’s steps belong in a single Service.
  • Starts after, already in the review. Each Suggestion can start after another from the same import, or after a Service the Project already has, so the API waits for Infra without opening Edit Service afterwards.
  • Re-scan keeps your edits. Scanning again no longer changes Services you already have, and it no longer offers containers that a docker compose up Service already covers.
v0.5.0

Your dev box's Projects, in the same window

  • Machines: another computer’s Projects, from here. Add a dev box, a home server or a cloud VM you reach with ssh in Settings → Machines: type a Host from ~/.ssh/config (the field lists them) or user@host:port, and localhost connects before it keeps it. Its Projects show in the sidebar under its name, below this computer’s, and you start, stop, restart and read their logs as you do here. They run on the Machine, with its configuration and Secrets, and are edited there. See Machines.
  • Open in Browser forwards the Port. For a Machine’s Service, Open in Browser first forwards its Port to the same port on this computer, through the SSH connection and bound to loopback only, so http://localhost:5173 there is http://localhost:5173 here. If that port is taken here, it says by whom rather than using another.
  • Over the SSH you already use. localhost runs your system’s ssh, so your keys, the SSH agent, ~/.ssh/config, ProxyJump and Tailscale all apply, and it adds no sign-in and no port of its own. It never asks for a password, and never trusts a host key for you.
  • It says why it can’t connect. An untrusted or changed host key, a sign-in that needs a password, a host that isn’t found or doesn’t answer, localhost missing on the Machine or too old: each in plain words, with what to do next. A lost connection is made again on its own, and on a Mac as soon as it wakes; reconnecting never starts or stops a Service. See When it can’t connect.
  • Quitting asks about Machines too. Services you started from here on a Machine stop there once the connection ends, unless localhost is open on it, and quitting says so first.
  • An old background core says what to do. When localhost was updated but an older version still runs in the background, often for a coding agent’s localhost mcp, it now names that version and asks you to quit it and the agents using it, here and on a Machine.
  • The first-run screen’s three actions are stacked at one width, so they fit the column on every platform.
v0.4.0

Agents add and edit your Projects, and connect from a terminal

  • Agents add, edit and remove Projects and Services. localhost mcp has six new tools, 15 in all: create_project, update_project, delete_project, create_service, update_service and delete_service. Each change is checked as the app’s editors check it (Keys, ports, URLs, working directories, Dependency cycles) and shows in the open app at once, without a restart. Removing needs confirm: true, stops what is running first and never touches a Project’s folder. Agents set plain variables only, and every Secret stays as it was. A command is stored as given, never run when it’s added. See Tools.
  • localhost mcp --read-only leaves those six tools out: the agent can still list, start, stop and inspect. Settings → Agents shows a read-only server as connected, and Update keeps it read-only. See Read-only.
  • Connect your agents from a terminal. With the app installed, npx @getlocalhost/cli mcp install writes what Connect writes for Claude Code, Cursor and Codex, and Claude Desktop’s claude_desktop_config.json too, on macOS and Windows. mcp uninstall removes it, mcp status shows where each agent stands, --client picks one, --read-only sets up a read-only server and --dry-run prints the diff instead. Without the app, it changes nothing and says how to install it. See Connect from a terminal.
  • npx -y @getlocalhost/cli mcp serve runs the server from any MCP client’s configuration: it finds the command that comes with the app and runs localhost mcp, so the same command and args work in every client and on every OS. See With npx.
  • Install with Homebrew on macOS: brew install --cask marcellosso/tap/localhost installs the app and links its localhost command into Homebrew’s bin. The app still updates itself. See Install.
v0.3.0

Connect your coding agents from the app

  • The localhost command comes with the app. The macOS app, the Windows installer and the Linux packages now include it, always the same version as the app, and it updates with it: no Rust or cargo install needed. The .deb and .rpm install it as /usr/bin/localhost; elsewhere Settings → Agents → Add to PATH puts it on your PATH for the terminal, and Remove from PATH undoes it. See The command line.
  • Connect your agents. A new screen connects Claude Code, Cursor and Codex in one click: it adds the localhost MCP server, pointed at the command inside the app, to the configuration file each one documents, and installs the localhost-mcp skill where each reads skills. What changes shows the file and the exact entry before you click; only localhost’s own entry changes, each file is backed up before the first change, and Disconnect removes only what localhost added. With Claude Code installed, it goes through claude mcp add-json; Cursor reuses the skill Claude Code or Codex already has instead of a second copy. See Connect from the app.
  • Find it anywhere. It opens by itself once, the first time you start this version, and then lives in Settings → Agents, the command palette (Connect Agents…), the empty window before you add a Project and, on macOS, the localhost menu.
  • Agents that run another localhost, such as one built into ~/.cargo/bin, or one that’s gone because the app moved, show Update, which points them at the app’s command and keeps the rest of their entry. A command from 0.2.0 can’t reach this version’s background core: update it there, or reconnect.
  • Updates ask about agents too. Restart to Update lists the running Services and how many agents are connected (“Stop 2 services and disconnect 1 agent and update?”), then stops the Services and disconnects the agents, so the update can replace the command they run. Start a new session in each agent afterwards. See Updates.
v0.2.0

Coding agents run your Services through localhost

  • localhost mcp: a Model Context Protocol server for Cursor, Claude Code and other coding agents. They list Projects and Services, start and stop them (one Service or Start All), and read status, logs and ports, instead of starting dev servers in a shell you can’t see. The Services an agent starts stop when it disconnects, unless the app is open, and it never starts a second copy of one a localhost up runs. See Coding agents (MCP).
  • The app and agents share their Services. On macOS, Linux and Windows, the app and localhost mcp drive one localhost core in the background (on Windows, for Projects on Windows itself): a Service an agent starts is Running in the app, with its logs, and one you start in the app is running for the agent. A stop from either stops the same Run. When an agent disconnects, the Services it started keep running if the app is open. See The background core.
  • An agent skill, skills/localhost-mcp/SKILL.md, that teaches agents to use it: Services through localhost rather than a shell, status before saying anything runs, logs and ports when something fails.
  • Updates in the app. localhost checks for a new version at launch and every 6 hours, and shows a notice with the release notes: Update Now downloads it in the background, Restart to Update installs it, after stopping the running Services (it lists them and asks first). Updates are signed and checked before they install. The AppImage, the Windows installer and the macOS app update themselves; a .deb or .rpm gets a link to the release. Turn the checks off in Settings. See Updates.
v0.1.0

The first release, for macOS, Linux and Windows

The first version of localhost: a native SwiftUI app for macOS, and one app for Linux and Windows, all on one Rust core.

  • Projects and Services: one command line, working directory and environment per Service, run in your login shell (cmd.exe on Windows). Start, stop and restart one Service, or Start All / Stop All in dependency order.
  • Ports: a Service is Running once its Port accepts connections. A taken port says who holds it, and a Service can move to the next free one for a Run. The Ports view lists every Listener on the machine.
  • Environment: Project and Service variables, Environment Profiles and Secrets in the system’s secret store. “Restart to apply” when a running Service’s configuration changes.
  • Logs: each Service’s output with colours, the merged All services view, filter and clear, smooth with very chatty Services.
  • Stats: a running Service’s CPU and memory, sampled only while its popover is open.
  • Suggestions: Add Project scans the folder for Node scripts, Compose services, Python apps and Cargo binaries, for you to review.
  • Project files: export a Project to YAML and import it again.
  • Keyboard and accessibility: the command palette on ⌘K and Ctrl+K, a shortcut for every action, a Keyboard Shortcuts sheet on ⌘/ and Ctrl+/, screen readers, Reduce Motion and Reduce Transparency.
  • The menu bar companion and the tray, and Orphans offered to stop after a crash.
  • Linux: packaged as .deb, .rpm and AppImage.
  • Windows: a per-user installer. Services run with your user environment read fresh at each start, inside a Job Object, and stop with Ctrl-Break.
  • WSL: a Project can run inside a WSL distro, through a small localhostd the app copies into it. Commands, detection and the Ports view run in the distro.
  • The localhost command, on the same core and data: projects, status, logs and up.

Install localhost for macOS

Two quick steps, usually under a minute.

  1. Drag it to Applications

    Open localhost-0.6.1.dmg and drag localhost to Applications.

    Download localhost-0.6.1.dmg

    Or install it with Homebrew, which also puts the localhost command in your terminal:

    brew install --cask marcellosso/tap/localhost

    Or download it from Terminal, which macOS doesn’t block, so you can skip step 2:

    curl -fLO https://github.com/marcellosso/localhost/releases/download/v0.6.1/localhost-0.6.1.dmg && open localhost-0.6.1.dmg
  2. Open it the first time

    localhost isn’t notarized by Apple yet, so macOS blocks the first launch once:

    1. Click Done in the warning.
    2. Open System Settings › Privacy & Security and scroll to Security.
    3. Click Open Anyway, and confirm with your password or Touch ID.

    Or run this in Terminal, then open localhost:

    xattr -dr com.apple.quarantine /Applications/localhost.app

macOS 15 or later · Apple silicon or Intel

  1. Run the installer

    Open localhost_0.6.1_x64-setup.exe. It installs for your user only, no administrator rights needed.

    Download localhost_0.6.1_x64-setup.exe
  2. Get past SmartScreen

    The installer isn’t signed by a known publisher yet, so Windows says “Windows protected your PC”:

    1. Click More info.
    2. Check that the file is localhost_0.6.1_x64-setup.exe.
    3. Click Run anyway.

Windows 10 or 11 · x64 · WSL 2 for Projects in WSL

  1. Download your package

  2. Install it

    From the folder you downloaded it to:

    sudo apt install ./localhost-app_0.6.1_amd64.deb
    sudo dnf install ./localhost-app-0.6.1-1.x86_64.rpm
    chmod +x localhost-app_0.6.1_amd64.AppImage && ./localhost-app_0.6.1_amd64.AppImage

    Secrets need a Secret Service (GNOME Keyring, KWallet). On stock GNOME the tray icon needs the AppIndicator extension.

x86_64 · Ubuntu 22.04+ · Debian 12+ · Fedora

On another system?Install guide →