Crash, The CrateDB CLI

Crash is CrateDB’s shell for interacting with clusters.

The Crash shell can be used from within a node that is part of a cluster or on another machine to connect to a remote cluster.

To launch Crash:


Your command prompt will then switch to a cr> prompt. Connect to a cluster using the URL and the CrateDB port (4200):

cr> \connect;

You can then use Crash to issue SQL queries and other commands.

Want to Know More?

  • More detailed documentation on Crash can be found here.

Next Steps