Installing cipr
Homebrew (recommended)
To install cipr, you can use the following commands:
CLI command
brew tap kaumnen/tap
brew install cipr
Go Package Manager (go version 1.26+)
cipr can be installed via pkg.go.dev too.
CLI command
go install github.com/kaumnen/cipr@latest
Installation script
To install cipr, you can use the following curl command:
CLI command
curl https://cipr.kaumnen.com/install.sh | bash
note
Source for the install script can be found here: Install script
After successful installation, you should see a message similar to this:
Installation complete. The 'cipr' command has been installed to /Users/<user>/.cipr/bin
Please ensure /Users/<user>/.cipr/bin is in your PATH.
You may need to add the following line to your shell configuration file (e.g., .bashrc, .zshrc):
export PATH="$HOME/.cipr/bin:$PATH"
After adding the line, restart your terminal or run 'source ~/.bashrc' (or the appropriate config file) to update your PATH.
To complete the installation:
- Add the following line to your shell configuration file (e.g., .bashrc, .zshrc):
CLI command
export PATH="$HOME/.cipr/bin:$PATH"
- After adding the line, either:
- Restart your terminal, or
- Run
source ~/.bashrc(or the appropriate config file) to update your PATH.
After these steps, you should be able to use the cipr command in your terminal.
info
Make sure you have curl installed on your system before running the installation command.