Installation
Run the following command in your terminal:
curl -sfL "https://gitlab.com/scottlindeman/public/-/raw/main/01_projects/curo/install" | bash
This will install the latest curo version into $HOME/.local/bin. If you want a specific version, use the following bash syntax
bash -s -- -v "2.1.0"
If another install directory is preferable, use the following bash syntax
bash -s -- -i "/usr/local/bin"
Example:
curl -sfL "https://gitlab.com/scottlindeman/public/-/raw/main/01_projects/curo/install" | bash -s -- -v "2.1.0" -i "/usr/local/bin"
This will install version 2.1.0 of the curo binary to /usr/local/bin.
Shell Completion
curo generates its own completion scripts for fish, bash and zsh. Component paths, actions, sublevels, profiles and runtime names all complete, so this is worth the minute of setup.
For fish:
curo repo completion fish > ~/.config/fish/completions/curo.fish
For bash, add to your ~/.bashrc:
source <(curo repo completion bash)
For zsh, add to your ~/.zshrc:
source <(curo repo completion zsh)