Installation
Install Pitchfork
mise (Recommended)
mise-en-place is the recommended way to install pitchfork:
bash
mise use -g pitchforkCargo
Install from crates.io:
bash
cargo install pitchfork-cliGitHub Releases
Download pre-built binaries from GitHub Releases.
Verify Installation
bash
pitchfork --versionShell Completion
Pitchfork supports tab completion for bash, zsh, and fish.
TIP
Shell completion requires the usage CLI tool to be installed.
bash
mkdir -p ~/.local/share/bash-completion/completions
pitchfork completion bash > ~/.local/share/bash-completion/completions/pitchforkbash
mkdir -p ~/.zfunc
pitchfork completion zsh > ~/.zfunc/_pitchfork
# Add to ~/.zshrc: fpath=(~/.zfunc $fpath)bash
pitchfork completion fish > ~/.config/fish/completions/pitchfork.fishShell Alias (Optional)
For a shorter command, add a pf alias to your shell. Combined with the implicit start shorthand, you can then start a daemon with just pf api:
bash
echo 'alias pf=pitchfork' >> ~/.bashrcbash
echo 'alias pf=pitchfork' >> ~/.zshrcbash
echo 'alias pf pitchfork' >> ~/.config/fish/config.fishRestart your shell or source the file, then pf api runs pitchfork start api.
What's Next?
- Quick Start - Run your first daemon
- Your First Project - Set up a project with multiple daemons
