Arango logo

Tools

ArangoDB provides command-line tools for deploying ArangoDB, accessing server instances, creating backups, importing data, and more

Standalone tools

The following tools are independent programs that you can obtain separately. They have their own options for connecting to ArangoDB, if any.

NameBrief description
ArangoDB StarterTool (arangodb) for easy deployment of ArangoDB instances. It is bundled with the full ArangoDB installation package but also available as a separate download .
Foxx CLICommand line tool for managing and developing Foxx services
kube-arangodbOperators to manage Kubernetes deployments
oasisctlCommand-line tool for managing the Arango Managed Platform (AMP)
ArangoDB DatasetsA Python package for loading sample datasets into ArangoDB

Client tools

A full ArangoDB installation package contains the ArangoDB server (arangod), the ArangoDB Starter, and the client tools. A client installation package only contains the client tools.

The client tools are:

Executable nameBrief description
arangoshArangoDB shell. A client that implements a read-eval-print loop (REPL) and provides functions to access and administrate the ArangoDB server.
arangodumpTool to create backups of an ArangoDB database.
arangorestoreTool to load backups back into an ArangoDB database.
arangobackupTool to perform hot backup operations on an ArangoDB installation.
arangoimportBulk importer for the ArangoDB server. It supports JSON and CSV.
arangoexportBulk exporter for the ArangoDB server. It supports JSON, CSV and XML.
arangobenchBenchmark and test tool. It can be used for performance and server function testing.
arangovpackUtility to validate and convert VelocyPack and JSON data.
arangoinspectInspection tool that gathers server setup information.

Connect to an ArangoDB server

All client tools except arangovpack work with a running ArangoDB server and share the same startup options for connecting and authenticating.

Unless you specify otherwise, the client tools connect to the _system database of the server at the endpoint tcp://127.0.0.1:8529 as the root user, and prompt you for a password (arangoinspect prompts you for the JWT secret of the server instead).

  • --server.endpoint: The endpoint of the server to connect to, like tcp://192.168.173.13:8529 or ssl://example.com:8529 for a TLS-secured connection. In a cluster, connect to a Coordinator. For the supported schemas, see the arangosh examples.
  • --server.database: The name of the database to connect to.
  • --server.username and --server.password: The credentials to authenticate with.
  • --server.authentication: Whether to authenticate at all. Set it to false if authentication is disabled on the server.

For all options, see the Options page of each tool.

Authentication methods

The tools support the following methods of authenticating with the server:

MethodStartup optionsSupported by
Username and password--server.username, --server.passwordAll tools
JWT secret of the server (to let the tool generate JWT superuser tokens)--server.jwt-secret-keyfile, --server.ask-jwt-secretarangosh, arangoinspect, arangodump, arangorestore

The JWT secret options cannot be combined with each other or with a username and password.

Keep credentials out of the process list

Values of startup options you specify on the command line are visible to other users of the system, for example, in the process list. To avoid exposing passwords and secrets this way, you can:

  • Omit --server.password to be prompted for the password.
  • Use --server.ask-jwt-secret to be prompted for the JWT secret, or --server.jwt-secret-keyfile to load it from a file.
  • Reference an environment variable using the @VARIABLE@ syntax, like --server.password @ARANGO_PASSWORD@. Note that you need to escape literal at signs in passwords as @@.
  • Set the options in a configuration file.