couchbase-cli

The couchbase-cli tool is used to perform operations both on single nodes or on entire clusters.

Syntax

The basic syntax is:

couchbase-cli COMMAND CLUSTER [options]

Where:

COMMAND is a CLI command.

CLUSTER is a cluster specification.
The following shows both short and long form syntax:

// Short form
-c [host]:[port]
// Long form
--cluster=[host]:[port]

Description

The couchbase-cli tool is located in the specific paths, depending on the platform.
It can perform operations on an entire cluster, on a bucket shared across an entire cluster, or on a single node in a cluster.
For instance, if this tool is used to create a bucket, all nodes in the cluster have access to the bucket.