# 使用 Homebrew, MacPorts 安装 launch

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

## 安装

```sh
sudo av install brew:launch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install launch
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install launch
```

  证据: MacPorts ports tree: aqua/launch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:launch
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/launch>
- **版本:** 1.2.5
- **来源摘要:** Command-line launcher for macOS, in the spirit of open
- **主页:** <https://sabi.net/nriley/software/#launch>
- **仓库:** <https://github.com/nriley/launch>
- **上游文档:** <https://sabi.net/nriley/software/#launch>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://sabi.net/nriley/software/launch-1.2.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- launch (cli)
- launch (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.5
- 本地数据: OK
- 上游仓库: https://sabi.net/nriley/software/#launch
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

launch is a macOS command-line launcher written by Nicholas Riley in the spirit of Apple's open(1), adding options that Apple's built-in tool did not expose. It belongs to the small tradition of Mac developer utilities that wrap Launch Services behavior in scriptable Unix-style commands.

### 项目历史

The README states the motivation plainly: macOS already has open, but launch offers additional options. Its version history shows continuing maintenance across OS X and macOS transitions, including 64-bit Intel binaries for OS X 10.8 and later in 1.2.4, a 2018 1.2.5 fix, and unreleased Universal 2 signing work for macOS/OS X 10.9 and later.

The public GitHub repository is a distribution and maintenance point with no GitHub Releases published, so the README's embedded version history is the main authoritative chronology.

### 采用历史

launch is packaged by Homebrew and MacPorts, which fits its audience: macOS users who live in the shell but need Launch Services features more detailed than open's default interface.

### 使用方式

Users invoke launch from scripts or terminals to open files, URLs, applications, or Launch Services targets with more control than open(1). Its usefulness is mostly macOS-specific and tied to desktop integration rather than portable Unix behavior.

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

For package nerds, launch is a compact example of why macOS package collections are not just Unix ports: they also preserve small native utilities that bridge shell workflows to Cocoa-era system APIs.

### 时间线

- 2017: Version 1.2.4 dated 2017-10-01 adjusted installation paths and macOS 10.13 SDK compatibility.
- 2018: Version 1.2.5 dated 2018-04-02 fixed option restrictions involving -l.
- 2020s: Version 1.2.6d1 README marks unreleased signed Universal 2 binary work for macOS/OS X 10.9 and later.

### Related projects

- Related tools include Apple's open(1), macOS Launch Services, Homebrew's launch formula, and the MacPorts launch port.

### 来源

- <https://formulae.brew.sh/formula/launch>
- <https://github.com/nriley/launch>
- <https://sabi.net/nriley/software>


## 安全说明

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:** launch
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- MacPorts - launch: normalized package name match | MacPorts ports tree: aqua/launch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [m-cli](https://pkg.so/zh-hans/brew/m-cli/) - Shares pkgdb curated category or tags: cli, macos, system, system-utility.
- [mist-cli](https://pkg.so/zh-hans/brew/mist-cli/) - Shares pkgdb curated category or tags: cli, macos, system, system-utility.
- [mole](https://pkg.so/zh-hans/brew/mole/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mas](https://pkg.so/zh-hans/brew/mas/) - Shares pkgdb curated category or tags: cli, macos, system.
- [osx-cpu-temp](https://pkg.so/zh-hans/brew/osx-cpu-temp/) - Shares pkgdb curated category or tags: cli, macos, system.
- [sleepwatcher](https://pkg.so/zh-hans/brew/sleepwatcher/) - Shares pkgdb curated category or tags: cli, macos, system.
- [fileicon](https://pkg.so/zh-hans/brew/fileicon/) - Shares pkgdb curated category or tags: cli, macos, system.
- [reattach-to-user-namespace](https://pkg.so/zh-hans/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, macos, system.
- [defaultbrowser](https://pkg.so/zh-hans/brew/defaultbrowser/) - Local package facts share a topical domain. Shared terms: cli, command-line, launch, line, macos.
- [brightness](https://pkg.so/zh-hans/brew/brightness/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, macos, system.

## Combined YAML source

View the package source record on GitHub. [combined/launch.yml](https://github.com/mxcl/pkgdb/blob/main/combined/launch.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
