Locate Binary and Add Executable Permissions
After downloading the Four Clover binary, remember the directory where it's saved.
Navigate to the directory where you downloaded the binary.
Run the following command to add executable permissions:
Edit Bash Profile (Linux) or Bash Profile / Zshrc (MacOS)
Run the following command to open the appropriate configuration file:
nano ~/.bashrc # For Linux
nano ~/.bash_profile # For MacOS
nano ~/.zshrc # For MacOS (if using Zsh)
Add the following line at the end of the file, replacing /path/to/fourclover
with the actual path to the Four Clover binary:
export PATH=$PATH:/path/to/fourclover
Press Ctrl + O
to save the file, then press Ctrl + X
to exit the text editor.
Apply Changes
Run the following command in the terminal to apply the changes to your current session:
source ~/.bashrc # For Linux
source ~/.bash_profile # For MacOS
source ~/.zshrc # For MacOS (if using Zsh)
Verify Installation
Run the following command to verify that Four Clover is accessible from anywhere: