To install oci cli on OL7:
sudo yum install python36-oci-cli
To update oci-cli on macOS:
#1 Check the version
oci -v
3.29.1
#2 run the update (macOS)
brew update && brew upgrade oci-cli
#3 Check the version again
oci -v
3.33.4
brew update && brew upgrade oci-cli
Already up-to-date.
Warning: oci-cli 3.33.4 already installed