See Release Notes for what's new in the latest release, v2.0.1.

  1. Install Homebrew.

  2. Instruct Homebrew to install CockroachDB:

    copy
    icon/buttons/copy
    $ brew install cockroach
  3. Keep up-to-date with CockroachDB releases and best practices:

What's Next?

Quick start a single- or multi-node cluster locally and talk to it via the built-in SQL client.

Note:
By default, each node of a CockroachDB cluster periodically shares anonymous usage details with Cockroach Labs. For an explanation of the details that get shared and how to opt-out of reporting, see Diagnostics Reporting.
  1. Download the CockroachDB archive for OS X, and extract the binary:

    copy
    icon/buttons/copy
    $ curl https://binaries.cockroachdb.com/cockroach-v2.0.1.darwin-10.9-amd64.tgz | tar -xJ
  2. Copy the binary into your PATH so it's easy to execute cockroach commands from any shell:

    copy
    icon/buttons/copy
    cp -i cockroach-v2.0.1.darwin-10.9-amd64/cockroach /usr/local/bin

    If you get a permissions error, prefix the command with sudo.

  3. Keep up-to-date with CockroachDB releases and best practices:

What's Next?

Quick start a single- or multi-node cluster locally and talk to it via the built-in SQL client.

Note:
By default, each node of a CockroachDB cluster periodically shares anonymous usage details with Cockroach Labs. For an explanation of the details that get shared and how to opt-out of reporting, see Diagnostics Reporting.



Yes No