Uninstalling cipr
Homebrew
To uninstall cipr, you can use the following commands:
CLI command
brew uninstall cipr
Go Package Manager (go version 1.26+)
To delete cipr installed from pkg.go.dev, you need to remove executable located at $GOPATH/bin.
info
If $GOPATH is not specified, $HOME/go will be used by default. You can check where your GOPATH points to by running go env GOPATH.
CLI command - if $GOPATH is specified
rm $GOPATH/bin/cipr
CLI command - dynamic
rm $(go env GOPATH)/bin/cipr
Uninstallation script
To uninstall cipr, you can use the following curl command:
CLI command
curl https://cipr.kaumnen.com/uninstall.sh | bash
note
Source for the uninstall script can be found here: Uninstall script
After successful uninstallation, you should see a message similar to this:
Please remember to remove the following line from your shell configuration file (e.g., .bashrc, .zshrc):
export PATH="$HOME/.cipr/bin:$PATH"
After removing the line, restart your terminal or run 'source ~/.bashrc' (or the appropriate config file) to update your PATH.
Uninstallation complete.
To complete the uninstallation process:
- Remove the following line from your shell configuration file (e.g., .bashrc, .zshrc):
CLI command
export PATH="$HOME/.cipr/bin:$PATH"
- After removing the line, either:
- Restart your terminal, or
- Run
source ~/.bashrc(or the appropriate config file) to update your PATH.
After these steps, the cipr command will be completely removed from your system.
info
Make sure you have curl installed on your system before running the installation command.