UltipaDocs
Try Playground
  • CLI
  • Monitor
  • Deployer
  • Deployment Procedure
  • LDAP
  • Migrator
  • Spark Connector
  1. Docs
  2. /
  3. Ultipa Tools

CLI

This manual covers the usage of Ultipa CLI, a cross-platform command line tool for running UQL and operating Ultipa Graph Database.

Prerequisites

  • A command line terminal that is compatible with your operating system:
    • Linux or MacOS: bash, zsh, tcsh
    • Windows: PowerShell
  • A version of Ultipa CLI compatible with your operating system (Version 4.x.x is recommended for the best experience in Graph Blaze)
NOTE

Sign up for an Ultipa Account in order to access Ultipa Download Centre, remove download restrictions if popped by your browser in order to continue the download process.

Operation Procedure

  1. Get server connection (in PowerShell on Windows, the same below)
Bash
./ultipa_cli.exe -h 192.168.1.88:61095 -u user1 -p 12dfa36
  1. Send UQL (refer to Ultipa Query Language Guide)
Bash
show().graph()
  1. Switch graphset ('alimama' for example)
Bash
use alimama
  1. Switch server connection
Bash
exit

./ultipa_cli.exe -h 192.168.1.85:64801,192.168.1.85:64802,192.168.1.85:64803 -u user1 -p 12dfa36
Diagram: Get Server Connection and Send UQL

Diagram: Switch GraphSet and Switch Server Connection