NEWGo-based CLI•12 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/macOS2curl -fsSL https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.sh | bashWindows (PowerShell)
powershell
1# Windows (PowerShell)2irm https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.ps1 | iexUsage
Single Commands
bash
1# Test connection2axiodb -c axiodb://127.0.0.1:27019 ping3
4# List databases5axiodb -c axiodb://127.0.0.1:27019 db list6
7# Insert a document8axiodb -c axiodb://127.0.0.1:27019 document insert '{"name":"Alice","age":30}' \9 --db mydb --collection users10
11# Query documents12axiodb -c axiodb://127.0.0.1:27019 document query '{"age":{"$gt":25}}' \13 --db mydb --collection users --output jsonInteractive REPL (MongoDB Shell Style)
bash
1# Start interactive shell2axiodb connect3
4# MongoDB shell syntax5axiodb> use mydb6axiodb:mydb> show collections7axiodb:mydb> use mydb.users8axiodb: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> exitFeatures
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
| OS | Architectures |
|---|---|
| Linux | amd64, arm64, 386, armv7 |
| macOS | amd64 (Intel), arm64 (Apple Silicon) |
| Windows | amd64, arm64, 386 |
| FreeBSD | amd64 |
| OpenBSD | amd64 |
| NetBSD | amd64 |
