NEWGo-based CLI12 Platforms

AxioDB CLI

Command line interface for AxioDB. Connect to any AxioDB server via TCP, run queries, manage databases — all from your terminal with MongoDB shell syntax.

Interactive REPL
TLS Support
21 Commands
12 Platforms

Quick Install

Linux / macOS

bash
1# Linux/macOS
2curl -fsSL https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.sh | bash

Windows (PowerShell)

powershell
1# Windows (PowerShell)
2irm https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.ps1 | iex

Usage

Single Commands

bash
1# Test connection
2axiodb -c axiodb://127.0.0.1:27019 ping
3
4# List databases
5axiodb -c axiodb://127.0.0.1:27019 db list
6
7# Insert a document
8axiodb -c axiodb://127.0.0.1:27019 document insert '{"name":"Alice","age":30}' \
9 --db mydb --collection users
10
11# Query documents
12axiodb -c axiodb://127.0.0.1:27019 document query '{"age":{"$gt":25}}' \
13 --db mydb --collection users --output json

Interactive REPL (MongoDB Shell Style)

bash
1# Start interactive shell
2axiodb connect
3
4# MongoDB shell syntax
5axiodb> use mydb
6axiodb:mydb> show collections
7axiodb:mydb> use mydb.users
8axiodb:mydb:users> db.users.find({})
9axiodb:mydb:users> db.users.insert({name: "Bob", age: 25})
10axiodb:mydb:users> db.users.updateOne({name: "Bob"}, {$set: {age: 26}})
11axiodb:mydb:users> db.users.deleteOne({name: "Bob"})
12axiodb:mydb:users> exit

Features

All 21 TCP Commands

Database, collection, document CRUD, aggregation, indexing

Interactive REPL

MongoDB shell syntax — use, show dbs, db.coll.find()

TLS Support

--tls, --tls-cert, --tls-skip-verify flags

Authentication

-u / -p flags for TCP auth

JSON Output

--output json for scripting and piping

Tab Autocomplete

Command completion in REPL mode

Supported Platforms

OSArchitectures
Linuxamd64, arm64, 386, armv7
macOSamd64 (Intel), arm64 (Apple Silicon)
Windowsamd64, arm64, 386
FreeBSDamd64
OpenBSDamd64
NetBSDamd64