Try 是一个命令沙盒试跑器,让你先运行命令看看会改动什么,再决定是否真正落地,系统保持零污染。它基于 Linux 命名空间和 overlayfs 实现半隔离环境,适合爱折腾系统、装软件前想先验证效果的 Linux 用户和运维人员。
核心亮点:
- 先试跑命令查看改动,再决定是否提交
- 基于命名空间与 overlayfs 实现半隔离
- 系统零污染,试错成本低
- 支持多种主流 Linux 发行版
当前版本 v0.2.1(2026-09-15 发布),开源协议 MIT,GitHub 5,509 star。
![]()

核心信息
| 软件名称 | Try(binpash/try) |
| 当前版本 | v0.2.1 |
| 更新日期 | 2026-09-15 |
| 开源协议 | MIT |
| 软件分类 | Linux 桌面 |
| 关键词 | administration、containers、shell、tools、virtualization |
本次更新内容
- 新增网络隔离选项,用户可控制命令是否访问网络,提升测试安全性。
- 支持多层文件系统合并,并保留顶层目录权限和符号链接,环境更接近真实系统。
- 改进临时文件管理,减少磁盘占用和残留,同时优化性能。
- 用户可在自己选择的 shell 中运行命令,并支持同步环境,使用更灵活。
- 增强对特殊文件(如管道和套接字)的支持,并减少非特权运行的干扰信息。
查看官方英文更新日志(原文)
## What's Changed * tiny tweaks to docs by @mgree in https://github.com/binpash/try/pull/124 * fix(ci): disable fail fast by @ezrizhu in https://github.com/binpash/try/pull/132 * fix(ci): pin macOS runner version by @ezrizhu in https://github.com/binpash/try/pull/133 * feat(net): add option -x to unshare network by @ezrizhu in https://github.com/binpash/try/pull/130 * Add minimal kernel ver to readme by @ezrizhu in https://github.com/binpash/try/pull/134 * Use selfhosted runners by @ezrizhu in https://github.com/binpash/try/pull/135 * perf: Replace subshell with POSIX Parameter expansion by @hyperupcall in https://github.com/binpash/try/pull/137 * Implement Multi-Lower-Layer Overlay Support through Merging by @gliargovas in https://github.com/binpash/try/pull/122 * docker: use tmpfs if tmp is in overlay by @ezrizhu in https://github.com/binpash/try/pull/146 * symlink sync by @ezrizhu in https://github.com/binpash/try/pull/148 * keep toplevel dir modes and symlinks by @ezrizhu in https://github.com/binpash/try/pull/138 * check sandbox_dir instead of mktemp by @ezrizhu in https://github.com/binpash/try/pull/154 * remove unnecessary sync by @ezrizhu in https://github.com/binpash/try/pull/157 * README: fix path to `run_tests.sh` by @gschwaer in https://github.com/binpash/try/pull/161 * C utilities for summarizing and committing changes by @mgree in https://github.com/binpash/try/pull/158 * autoconfiscate by @mgree in https://github.com/binpash/try/pull/167 * use debian12 as vagrant runner by @ezrizhu in https://github.com/binpash/try/pull/172 * misc upperdir fixes by @ezrizhu in https://github.com/binpash/try/pull/169 * stdstream support by @ezrizhu in https://github.com/binpash/try/pull/168 * try to get unshare from util-linux by @mgree in https://github.com/binpash/try/pull/177 * CI fix, attempt 2 by @mgree in https://github.com/binpash/try/pull/178 * Named tmpfiles by @ezrizhu in https://github.com/binpash/try/pull/180 * Minimize tempfile churn by @mgree in https://github.com/binpash/try/pull/186 * add shell.nix by @ezrizhu in https://github.com/binpash/try/pull/175 * no findmnt by @ezrizhu in https://github.com/binpash/try/pull/189 * Tiny fixes by @mgree in https://github.com/binpash/try/pull/191 * fputs instead of fprintf by @mgree in https://github.com/binpash/try/pull/192 * nix docs and package by @ezrizhu in https://github.com/binpash/try/pull/195 * Run try command in the users shell of choice by @Ioa1 in https://github.com/binpash/try/pull/197 * tiny fix by @mgree in https://github.com/binpash/try/pull/200 * `Makefile.in` fixes for `--disable-utils` by @mgree in https://github.com/binpash/try/pull/203 * fix prompt issues in explore test by @mgree in https://github.com/binpash/try/pull/206 * [ci] deflake explore.sh by @mgree in https://github.com/binpash/try/pull/209 * unpin git checkout in package.nix by @ezrizhu in https://github.com/binpash/try/pull/211 * align try-summary and shell fallback by @mgree in https://github.com/binpash/try/pull
下载地址
以下为官方原包,本站不二次打包,点击直接下载:
try_0.2.1_amd64.deb(官方原包 | 22.1 KB)
✅ 上方 SHA256 与官方发布值一致,可自行核对。
快速上手
- 在终端中进入安装包所在目录,执行 sudo dpkg -i 安装包完成安装,若提示依赖缺失可先补齐依赖再重试。
- 安装完成后在终端直接运行 try 命令,确认能正常输出用法信息,说明程序已可用。
- 用 try 加上要执行的命令来运行,例如 try 后接命令,程序会在隔离环境中执行并展示对系统的改动。
- 检查 try 展示的改动结果,确认无误后再决定是否将改动应用到真实系统,不满意可放弃。
- 遇到 overlayfs 在嵌套挂载上不工作时,用 -U 参数指定 mergerfs 或 unionfs 的路径后重试。
提示:try 只是半隔离环境,网络调用全部放行,不要用它运行不信任的命令。
讨论(0 条)