Navigate faster, not harder.
A lightning-fast, minimalist Path Manager CLI tool designed to supercharge your terminal workflow. Alias your most-used directories, index them, and jump between folders instantly—leaving long paths in the past.
The easiest way to install and configure Goto is by running the automatic installation script.
Open your terminal and run:
curl -fsSL https://raw.githubusercontent.com/Joacohbc/goto/main/install.sh | bashThis script will automatically:
- Detect your Operating System (Linux or macOS) and Architecture.
- Download the latest release binary.
- Move the binary to your
~/.local/binfolder. - Detect your shell and add the required aliases for
gototo work seamlessly.
Note: After installation, restart your terminal or source your configuration file.
See MANUAL-INSTALL.md for manual setup.
To completely remove Goto, its binaries, and its shell aliases, simply run the uninstallation script:
curl -fsSL https://raw.githubusercontent.com/Joacohbc/goto/main/uninstall.sh | bashThe script will prompt you to confirm if you also want to remove your saved aliases and configurations.
goto home # Go to path with abbreviation "home"
goto 0 # Go to path at index 0
goto /tmp # Like regular cdNote: Abbreviations and indices take precedence over local directory names. Use -d to force directory navigation.
Add Path
goto add-path ./ currentDir # Add current dir as "currentDir"
goto add-path ~/Documents docs # Add specific pathList Paths
goto list
# Output: 0 - "/home/user" - hSearch
goto search -a docs # Search by abbreviation
goto search -p ~/Docs # Search by pathDelete Path
goto delete --path ~/Documents
goto delete --abbv docs
goto delete --indx 2Modify Path
Update entries using goto update <mode>. Modes combine the identifier and the target to change (e.g., path-abbv means identify by path, update abbreviation).
Shortcuts: pp (path-path), pa (path-abbv), pi (path-indx), ap (abbv-path), aa, ai, ip, ia, ii.
# Update path (identify by abbreviation 'h')
goto update ap -a h -n /new/path
# Rename abbreviation (identify by path)
goto update pa -p /current/path -n newnamegoto update-goto
goto backup [-o file.json]
goto restore [-i file.json]Use -t flag for temporary paths (cleared on reboot).
goto add-path -t ./ temp
goto -t tempgoto -q home: Return quoted path.goto -s home: Return path with escaped spaces.\cd ~/Documents: Bypass alias to use standardcd.