Skip to main content
Loading

Install Tools on macOS

This page describes how to install Aerospike Tools on macOS.

Prerequisitesโ€‹

  • macOS 13 (Ventura) or newer
  • Your system must meet the prerequisites described in Tools requirements.

Download the packageโ€‹

See Download Aerospike Tools for more details on manual or automated downloads of Tools packages.

wget -O aerospike-tools.pkg https://download.aerospike.com/artifacts/aerospike-tools/latest/aerospike-tools__macOS_arm64.pkg # replace arm64 with x86_64 for Intel processors

Forget the previously installed toolsโ€‹

If you have already installed the Tools, you might need to "forget" the previously installed version, to avoid potential conflicts with the new version.

To see what version of Tools is currently installed:

pkgutil --pkgs | grep 'aerospike.tools'

Run the following command to forget the previous installations (where x.y.z is the current version):

sudo pkgutil --forget com.aerospike.tools.x.y.z

Install Aerospike Toolsโ€‹

Install the downloaded package by double-clicking the package file and following the prompts.

Verify installationโ€‹

Verify the package installation:

$ pkgutil --pkgs | grep 'aerospike.tools'

If security is enabled for your Aerospike cluster, provide the username and password each time you verify one of the tools.

Verify asadmโ€‹

$ asadm --version

Aerospike Administration Shell
Version 3.1.0

Verify aqlโ€‹

$ aql --version

Aerospike Query Client
Version 9.1.1

Verify asinfoโ€‹

$ asinfo --version
----
Aerospike Information Tool
Version 5.2.0

Verify asbackupโ€‹

$ asbackup --version

Aerospike Backup
Version 4.4.3

Verify asrestoreโ€‹

$ asrestore --version

Aerospike Restore
Version 4.4.3