# 使用 Homebrew, Nix 安装 try

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

## 安装

```sh
sudo av install brew:try
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install try
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#try
```

  证据: nixpkgs package indexes: pkgs/by-name/tr/try/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:try
- **软件包管理器:** Homebrew
- **版本:** 1.9.3
- **来源摘要:** Quickly manage and navigate project directories for experiments
- **主页:** <https://github.com/tobi/try>
- **仓库:** <https://github.com/tobi/try>
- **最后更新:** 2026-06-06T20:23:54-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- try (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

try is a small Ruby command-line tool for creating, finding, and entering fresh directories for short-lived experiments. The README frames it as a one-file script for developers who keep making test directories and want those experiments organized instead of lost in /tmp or scattered across a filesystem.

### 项目历史

The project is maintained in Tobi Lutke's GitHub account and centers on the phrase 'Your experiments deserve a home.' Its implementation and documentation emphasize zero configuration, no runtime dependencies beyond Ruby, and a shell integration that lets the command change the caller's working directory.

### 采用历史

try became visible well beyond a private dotfile script: GitHub shows thousands of stars, the repository includes Homebrew formula material, and the README recommends RubyGems installation as try-cli. It also has a later Rust descendant, try-rs, whose README names this project as the inspiration.

### 使用方式

A typical user installs the gem or downloads the script, evaluates the shell init output, and then types partial experiment names. try fuzzy-matches existing experiment directories, ranks recent ones highly, and creates dated directories when no existing match is selected.

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

The project is a package-nerd artifact because it turns a personal shell habit into a packaged CLI with RubyGems and Homebrew paths. It is intentionally small, but it influenced the later try-rs rewrite and sits in the lineage of tiny tools that formalize local development rituals.

### 时间线

- 2026: GitHub release v1.9.0 added terminal title behavior for the TUI.
- 2026: The README documents RubyGems as the recommended installation path and manual shell setup as a fallback.

### Related projects

- try-rs is the direct Rust port and re-imagining of try.
- The tool is related to fuzzy directory switchers and shell workspace managers, but focuses specifically on experiment directories.

### 来源

- <https://github.com/tassiovirginio/try-rs#readme>
- <https://github.com/tobi/try#readme>
- <https://github.com/tobi/try/releases>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

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


## Combined YAML source

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


## 来源

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