# localtunnel を Homebrew, Nix でインストール

localtunnel のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:localtunnel
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install localtunnel
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#localtunnel
```

  証拠: nixpkgs package indexes: pkgs/by-name/lo/localtunnel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:localtunnel
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/localtunnel>
- **バージョン:** 2.0.2
- **ソース概要:** Exposes your localhost to the world for easy testing and sharing
- **ホームページ:** <https://theboroer.github.io/localtunnel-www/>
- **上流ドキュメント:** <https://theboroer.github.io/localtunnel-www/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/localtunnel/-/localtunnel-2.0.2.tgz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lt (cli)
- lt (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.0.2
- ローカルデータ: OK
- 上流リポジトリ: https://theboroer.github.io/localtunnel-www/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

localtunnel is a small Node.js command-line tunnel client for exposing a local HTTP service on a public URL. It became a familiar package-manager install for webhook testing, demos, browser testing, and sharing localhost without deploying.

### プロジェクトの歴史

The official README describes localtunnel as a way to expose localhost to the world for easy testing and sharing, avoiding DNS changes or deployment just to let someone else reach a local service. The project is distributed as a Node package and provides the `lt` command.

The localtunnel ecosystem is split between the client repository and a server repository. The server README explains that the default client connects to the `localtunnel.me` service while also allowing users to run their own server and point the client at it with `--host`.

### 採用の歴史

localtunnel's adoption came from its extremely low setup cost: install it with npm or a system package manager, run `lt --port 8000`, and get a shareable URL. That made it especially useful for webhook callbacks, browser testing tools, mobile testing, and short-lived demonstrations.

The public website credits @defunctzombie as the creator and @TheBoroer as the maintainer/operator, reflecting a project that moved from an early Node.js utility into a maintained public tunneling service and CLI package.

### 使われ方

The common workflow is `npm install -g localtunnel` or `npx localtunnel --port 8000`, followed by keeping the local `lt` process running while requests are proxied to the chosen local port.

Advanced users can self-host the localtunnel server, configure DNS wildcard records, run the server behind a reverse proxy, and pass `--host` to the client. The client has no official persistent config or credentials file documented.

### パッケージ好きにとっての重要性

localtunnel is a canonical example of the 'one command gives localhost a URL' developer package. It competes in the same mental space as ngrok-style tools, but remains attractive because the client and server are open source and easy to install.

For package maintainers, localtunnel is small but sensitive to Node dependency health, public service availability, and defaults such as the hosted tunnel endpoint.

### タイムライン

- 2010s: localtunnel emerged as a Node.js localhost tunneling CLI and public service.
- 2019: localtunnel 2.0.0 modernized the client with HTTPS support, a Promise API, and modern JavaScript syntax.
- 2021: localtunnel 2.0.x maintenance releases updated dependencies.
- 2025: the public site documents @TheBoroer as maintainer/operator and keeps the project linked to GitHub.

### Related projects

- localtunnel/server is the official server component for self-hosting compatible tunnel infrastructure.
- ngrok, Cloudflare Tunnel, LocalXpose, and inlets solve similar localhost-to-public-networking problems with different hosting and authentication models.

### ソース

- <https://github.com/localtunnel/localtunnel>
- <https://github.com/localtunnel/server>
- <https://theboroer.github.io/localtunnel-www/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** localtunnel
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - localtunnel: normalized package name match | nixpkgs package indexes: pkgs/by-name/lo/localtunnel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [jprq](https://pkg.so/ja/brew/jprq/) - Shares pkgdb curated category or tags: cli, http, networking, tunneling.
- [pgrok](https://pkg.so/ja/brew/pgrok/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [openiothub-server](https://pkg.so/ja/brew/openiothub-server/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [ptunnel](https://pkg.so/ja/brew/ptunnel/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [cloudflared](https://pkg.so/ja/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [boring](https://pkg.so/ja/brew/boring/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [proxytunnel](https://pkg.so/ja/brew/proxytunnel/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [rospo](https://pkg.so/ja/brew/rospo/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [localtunnel](https://pkg.so/ja/npm/localtunnel/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, localhost, localtunnel, lt, networking.
- [localxpose](https://pkg.so/ja/cask/localxpose/) - Local package facts share a topical domain. Shared terms: cli, http, localhost, networking, tunneling.
- [ngrok](https://pkg.so/ja/npm/ngrok/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, localhost, localtunnel, networking, node.
- [localtunnel](https://pkg.so/ja/npm/localtunnel/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/localtunnel.yml](https://github.com/mxcl/pkgdb/blob/main/combined/localtunnel.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
