Install Saga CLI
Good to know: You would need a computer which has a decent and reliable connection to the internet. Additionally, if you have a firewall, you will need to ensure that outbound traffic is allowed for port 443 (HTTPS).
Installation (Linux or Mac)
At the shell prompt, type to unarchive and install the cli in the desired path
Example:
Depending on the folder you decide to install sagacli
to, you may need to use sudo
permissions i.e. prefixing your command with sudo. Also check if the directory <directory to install sagacli>
in step 1 is already in the PATH e.g. on Linux
If the directory is not in the PATH
, add it to the PATH
depending on your host operating system and shell used. Example, on Linux you would use:
We recommend adding this change to your shell's profile (~/.profile
or ~/.bashrc
or ~/.bash_profile
).
On Linux and Mac, ensure you source the profile updates e.g. source ~/.profile
or source ~/.bash_profile
etc., depending on the file you updated.
On some versions of MacOS, you will need to remove the newly downloaded binary from quarantine by using the following command in your terminal:
xattr -d com.apple.quarantine /path/to/sagacli
Test that sagacli
has been installed by running sagacli
from any shell prompt. You should get an output like this:
Last updated