# 使用 Homebrew Cask 安装 localxpose

查看 localxpose 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:localxpose
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask localxpose
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:localxpose
- **软件包管理器:** Homebrew Cask
- **版本:** 24.9.2
- **来源摘要:** Reverse proxy that enables you to expose your localhost to the internet
- **主页:** <https://localxpose.io/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- loclx (二进制)
- loclx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 24.9.2
## 项目历史与用法

LocalXpose is a commercial tunneling and reverse-proxy client for exposing localhost services to the public internet. The packaged `loclx` CLI is aimed at developers who need HTTP, TCP, TLS, or UDP tunnels for development, testing, demos, and remote access.

### 项目历史

Official LocalXpose documentation describes the service as a reverse proxy for securely exposing localhost services without complex network infrastructure. The product ships a cross-platform CLI and GUI for Linux, macOS, Windows, FreeBSD, and Docker.

The official GitHub organization documents LocalXpose as a tunneling service and lists package-manager installation paths including Homebrew cask, Snap, npm, Chocolatey, and Docker. The same page says the core tunneling service is not presented as the open source project; the visible open source work is centered on supporting tools such as the GitHub Action.

### 采用历史

LocalXpose adoption is tied to the broader ngrok-style tunneling workflow: developers run a local service, authenticate the tunnel client, and receive a public endpoint for webhooks, demos, testing, remote access, or IoT/edge connectivity.

The official docs emphasize account login and access tokens, suggesting a SaaS-oriented adoption model rather than the anonymous public tunnel model used by simpler tools.

### 使用方式

A first-time user downloads or installs the CLI, creates an account, copies an access token from the LocalXpose dashboard, runs `loclx account login`, and then starts a tunnel such as `loclx tunnel http --to localhost:3000`.

For repeatable multi-tunnel setups, `loclx tunnel config init` creates a YAML file in the current working directory, and `loclx tunnel config -f /path/to/config.yaml` runs tunnels from that file. The CLI documentation says account login stores the token in the OS keyring and falls back to `$HOME/.access`.

### 为什么软件包爱好者会关心

LocalXpose is notable as a Homebrew cask because it packages a proprietary network edge service into a local CLI binary. Package users care about architecture-specific downloads, authentication behavior, token storage, and whether the CLI can run headlessly in services or CI.

Its support for HTTP, HTTPS, TCP, TLS, and UDP tunnels makes it broader than simple HTTP-only localhost sharing tools, but the hosted-service dependency means package installation is only one part of operability.

### 时间线

- 2022: Official blog/tutorial material documents LocalXpose use cases such as port forwarding and localhost exposure.
- 2025: Official documentation describes cross-platform downloads, access-token login, regions, and HTTP/TCP/TLS/UDP tunnel support.
- 2025: Official GitHub organization highlights package-manager distribution and the LocalXpose GitHub Action.

### Related projects

- ngrok, localtunnel, Cloudflare Tunnel, and inlets address similar local-service exposure workflows.
- LocalXpose/localxpose-action is the official GitHub Action for creating tunnels in CI and preview workflows.

### 来源

- <https://github.com/LocalXpose>
- <https://localxpose.io/docs>
- <https://localxpose.io/docs/cli>
- <https://localxpose.io/docs/cli/config.yaml>


## 安全说明

没有找到 localxpose 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./config.yaml

## Credential files

- Unix: ~/.access

## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
