try
fresh directories for every vibe
File Explorer
- release.yml
- tests.yml
- try
- .nojekyll
- index.html
- try-fuzzy-search-demo.gif
- usage.mp4
- try.rb
- fuzzy.rb
- tui.rb
- run.sh
- test_17_tmux_delete.sh
- test_18_simple_tmux.sh
- test_19_tmux_navigation.sh
- test_20_tmux_search.sh
- test_21_tmux_rename.sh
- test_22_tmux_create.sh
- tmux_helpers.sh
- runner.sh
- runner_and_compare.sh
- test_01_basic.sh
- test_02_test_parameters.sh
- test_03_commands.sh
- test_04_tui_compliance.sh
- test_05_script_format.sh
- test_06_path_option.sh
- test_07_clone_naming.sh
- test_08_keyboard.sh
- test_09_new_entry.sh
- test_10_fuzzy.sh
- test_11_display.sh
- test_12_worktree.sh
- test_13_vim_nav.sh
- test_14_init_shells.sh
- test_15_url_shorthand.sh
- test_16_delete.sh
- test_17_line_layout.sh
- test_18_rwrite_backgrounds.sh
- test_19_input_field.sh
- test_20_scroll_behavior.sh
- test_21_create_new.sh
- test_22_styles_unicode.sh
- test_23_terminal_sizes.sh
- test_24_navigation_edge.sh
- test_25_header_footer.sh
- test_26_fuzzy_highlight.sh
- test_27_metadata_format.sh
- test_28_exit_behavior.sh
- test_29_error_edge.sh
- test_30_ansi_sequences.sh
- test_31_rename.sh
- test_32_git_uri.sh
- test_33_versioning.sh
- test_34_shell_init.sh
- test_35_rename_validation.sh
- test_36_shell_eval.sh
- test_37_graduate.sh
- test_38_tab_title.sh
- test_39_pr_url.sh
- command_line.md
- delete_spec.md
- fuzzy_matching.md
- init_spec.md
- performance.md
- test_spec.md
- token_system.md
- tui_spec.md
- profile_render.rb
- fuzzy_test.rb
- test_helper.rb
- try_selector_test.rb
- tui_input_field_test.rb
- tui_test.rb
- .gitignore
- AGENTS.md
- flake.lock
- flake.nix
- Gemfile
- Gemfile.lock
- LICENSE
- Makefile
- Rakefile
- README.md
- try-cli.gemspec
- try.rb
- VERSION
# Installation Guide
ruby- Ruby >= 2.5
Setup Steps
gem install try-cli
Install try-cli via RubyGems.
eval "$(try init)"
Apply the try initialization script to your shell environment.
Key Commands
try redis
Browse experiment directories or create and jump to a new one.
try new api
Create a new experiment directory prefixed with today's date.
try clone https://github.com/tobi/try.git
Clone a Git repository into a date-prefixed experiment directory.
eval "$(try init ~/src/tries)"
Output initialization commands and paths for shell integration.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
brew tap
View Details ▼
brew tap
Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.
brew tap
List installed Homebrew taps:
brew tap {{github_username}}/{{github_repository_name}}
Tap a Git repository hosted on GitHub:
brew tap {{username}}/{{repository_name}} {{git_clone_url}}
Tap a Git repository hosted outside of GitHub:
fzf
View Details ▼
fzf
Fuzzy finder.
Similar to `sk`.
find {{path/to/directory}} -type f | fzf
Start `fzf` on all files in the specified directory:
ps aux | fzf
Start `fzf` for running processes:
find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}
Select multiple files with `<Shift Tab>` and write to a file:
gem
View Details ▼
gem
A package manager for the Ruby programming language.
gem search {{regex}} {{[-a|--all]}}
Search for remote gem(s) and show all available versions:
gem install {{gem_name}}
Install the latest version of a gem:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
Install a specific version of a gem:
nix run
View Details ▼
nix run
Run an application from a Nix flake.
See also: `nix flake`.
nix run
Run the default application in the flake in the current directory:
nix run nixpkgs#{{pkg}}
Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see `tldr nix shell`):
nix run nixpkgs#{{vim}} -- {{path/to/file}}
Run a command with provided arguments:
redis-server
View Details ▼
redis-server
Persistent key-value database.
redis-server
Start Redis server, using the default port (6379), and write logs to `stdout`:
redis-server --daemonize yes
Start Redis server, using the default port, as a background process:
redis-server --port {{port}} --daemonize yes
Start Redis server, using the specified port, as a background process:
ruby
View Details ▼
ruby
Ruby programming language interpreter.
See also: `gem`, `bundler`, `rake`, `irb`, `ri`.
ruby {{path/to/script.rb}}
Execute a Ruby script:
ruby -e "{{command}}"
Execute a single Ruby command in the command-line:
ruby -c {{path/to/script.rb}}
Check for syntax errors on a given Ruby script:
