localhost:

Privacy

What localhost collects

Very little, and nothing about your projects. Both the website and the app send anonymous usage events toPostHog, so we can tell whether people who download localhost keep using it.

The app

When the app opens, it sends one event: app_first_open the first time, app_opened after that. Each carries only:

  • a random id made on your computer the first time, not tied to you, your account or your machine;
  • the app’s version, your operating system (macOS, Windows or Linux) and architecture;
  • how it was installed: Homebrew, DMG, the Windows installer, .deb, .rpm, AppImage or a source build.

Never your projects, services, commands, paths, logs, environment variables, Secrets, host name or user name. No person profiles, no location lookup, no session recording. The localhost command and the MCP server send nothing.

The app says this once, the first time it opens. It is on by default; to turn it off, any of these works:

  • Settings › General › Share anonymous usage data;
  • set DO_NOT_TRACK=1 in the environment the app starts with;
  • set LOCALHOST_TELEMETRY=0 (or false, off).

Development builds, test runs and builds in CI send nothing at all.

The website

This site counts page views and a few named clicks, such as Download buttons, copied install commands and links to GitHub. It doesn’t record sessions or any other clicks. PostHog keeps an anonymous id in your browser’s storage to tell one visit from the next, and makes no person profile from it.

The rest

The site and the app use separate PostHog projects, and an id from one is never linked to the other. The tokens built into both can only send events, not read them. Nothing is sold or shared with anyone else.

localhost is open source: the code that sends these events isin the repository, and the full list is in docs/analytics.md. Questions go toGitHub Issues.

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 →