Installation Guide
System Requirements
Rust toolchain (for installation via cargo)
Linux operating system
Supported shell (bash, zsh, fish, tcsh, or ksh)
Installation Methods
Using Cargo
The recommended way to install pathmaster is through cargo:
cargo install pathmaster
This will:
Download the latest version
Compile the source code
Install the binary in your cargo bin directory
Building from Source
Clone the repository:
git clone https://github.com/jwliles/pathmaster.git
cd pathmaster
Build the release version:
cargo build --release
The binary will be available at:
./target/release/pathmaster
Optionally, install system-wide:
cargo install --path .
Verifying Installation
After installation, verify pathmaster is working:
pathmaster --version
pathmaster --help
Shell Integration
Pathmaster automatically detects and configures your shell:
Supported Shell Configurations
bash: ~/.bashrc
zsh: ~/.zshrc
fish: ~/.config/fish/config.fish
tcsh: ~/.tcshrc
ksh: ~/.kshrc
Initial Setup
No manual configuration is needed. Pathmaster will:
Detect your current shell
Locate the appropriate configuration file
Make necessary updates automatically
Create backups before any modifications
Troubleshooting Installation
Common Issues
Cargo not found
Solution: Install Rust and Cargo from https://rustup.rs/
Permission errors
Solution: Check directory permissions or use sudo for system directories
Shell not detected
Solution: Ensure SHELL environment variable is set correctly
Getting Help
Man page:
man pathmaster