Install the AlloyDB Omni CLI
The specific commands needed to install the AlloyDB Omni CLI depend on your Linux distribution.
Install on Debian or Ubuntu
To install the AlloyDB Omni CLI on Debian or on Debian-based Linux distributions such as Ubuntu, run the following commands:
curl https://REGION-apt.pkg.dev/doc/repo-signing-key.gpg | sudo apt-key add -sudo apt updateecho "deb https://REGION-apt.pkg.dev/projects/alloydb-omni alloydb-omni-apt main" \ | sudo tee -a /etc/apt/sources.list.d/artifact-registry.listsudo apt updatesudo apt-get install alloydb-cli
Replace REGION with one of the following:
asiaeuropeus
Install on RHEL
To install the AlloyDB Omni CLI on Red Hat Enterprise Linux (RHEL), run the following commands:
sudo tee -a /etc/yum.repos.d/artifact-registry.repo << EOF [alloydb-omni-yum] name=alloydb-omni-yum baseurl=https://REGION-yum.pkg.dev/projects/alloydb-omni/alloydb-omni-yum enabled=1 repo_gpgcheck=0 gpgcheck=0 EOFsudo yum makecachesudo yum --enablerepo=alloydb-omni-yum install -y alloydb-cli
Replace REGION with one of the following:
asiaeuropeus
Update the AlloyDB Omni CLI
The specific commands needed to update the AlloyDB Omni CLI depend on your Linux distribution.
Update on Debian or Ubuntu
sudo apt-get updatesudo apt-get install alloydb-cli
Update on RHEL
sudo yum makecachesudo yum install alloydb-cli -y
Uninstall the AlloyDB Omni CLI
The specific commands needed to uninstall the AlloyDB Omni CLI depend on your Linux distribution.
Uninstall from Debian or Ubuntu
sudo apt-get remove alloydb-cliUninstall from RHEL
sudo yum remove alloydb-cli