Arangosh Options

Usage: arangosh [<options>]

Global Options

NameTypeDescription
configurationstring The configuration file or 'none'.
Default: ""
jslintstring... Do not start as shell, run jslint instead.
Default: []
quietboolean Silent startup.
Default: false
versionboolean Reports the version and exits.
Default: false

Console Options

NameTypeDescription
console.audit-filestring Audit log file to save commands and results.
Default: ""
console.auto-completeboolean Enable auto completion.
Default: true
console.colorsboolean Enable color support.
Default: true
console.pagerboolean Enable paging.
Default: false
console.pretty-printboolean Enable pretty printing.
Default: true
console.promptstring Prompt used in REPL. prompt components are: '%t': current time as timestamp, '%p': duration of last command in seconds, '%d': name of current database, '%e': current endpoint, '%E': current endpoint without protocol, '%u': current user.
Default: "%E@%d> "

Javascript Options

NameTypeDescription
javascript.check-syntaxstring... Syntax check code Javascript code from file.
Default: []
javascript.copy-directorystring Target directory to copy files from 'javascript.startup-directory' into(only used when `--javascript.copy-installation` is enabled).
Default: ""
javascript.copy-installationboolean Copy contents of 'javascript.startup-directory'.
Default: false
javascript.current-module-directoryboolean Add current directory to module path.
Default: true
javascript.executestring... Execute Javascript code from file.
Default: []
javascript.execute-stringstring... Execute Javascript code from string.
Default: []
javascript.gc-intervaluint64 Request-based garbage collection interval (each n.th command).
Default: 50
javascript.unit-test-filterstring Filter testcases in suite.
Default: ""
javascript.unit-testsstring... Do not start as shell, run unit tests instead.
Default: []
javascript.v8-max-heapuint64 Maximal heap size (in MB).
Default: 3072

Log Options

NameTypeDescription
log.colorboolean Use colors for TTY logging.
Default: true
log.escapeboolean Escape characters when logging.
Default: true
log.levelstring... The global or topic-specific log level.
Default: ["info"]
log.outputstring... Log destination(s).
Default: []
log.roleboolean Log server role.
Default: false
log.use-local-timeboolean Use local timezone instead of UTC.
Default: false
log.use-microtimeboolean Use microtime instead.
Default: false

Server Options

NameTypeDescription
server.authenticationboolean Require authentication credentials when connecting (does not affect the server-side authentication settings).
Default: false
server.connection-timeoutdouble Connection timeout in seconds.
Default: 5
server.databasestring Database name to use when connecting.
Default: "_system"
server.endpointstring Endpoint to connect to, use 'none' to start without a server.
Default: "http+tcp://127.0.0.1:8529"
server.passwordstring Password to use when connecting. If not specified and authentication is required, the user will be prompted for a password.
Default: ""
server.request-timeoutdouble Request timeout in seconds.
Default: 1200
server.usernamestring Username to use when connecting.
Default: "root"

Ssl Options

NameTypeDescription
ssl.protocoluint64 Ssl protocol (1 = SSLv2, 2 = SSLv2 or SSLv3 (negotiated), 3 = SSLv3, 4 = TLSv1, 5 = TLSv1.2).
Default: 5
Possible values:
  • 1
  • 2
  • 3
  • 4
  • 5

Temp Options

NameTypeDescription
temp.pathstring Path for temporary files.
Default: ""