Quick Start Guide

Get up and running with ShibuDB in minutes

Overview

This quick start guide will help you get ShibuDB up and running in just a few minutes. You'll learn how to:

  • Install and start ShibuDB
  • Connect to the database
  • Perform basic key-value operations
  • Use vector search capabilities
  • Manage spaces and users

Installation

Follow these steps to install ShibuDB:

Step 1: Download

Download the appropriate package for your platform from the download section.

Step 2: Install

macOS
# Install package
sudo installer -pkg shibudb-{version}-apple_silicon.pkg -target /

# Verify installation
shibudb --version

Step 3: Start Server

Start Server
# Start server on port 9090
sudo shibudb start 9090

# Check status
sudo shibudb status

First Steps

Now let's connect to ShibuDB and create your first space:

1. Connect to Database

Connect
# Connect using CLI client
shibudb client localhost:9090

# Login with default credentials
Username: admin
Password: admin

2. Create Your First Space

Create Space
# Create a key-value space
CREATE-SPACE my_data --engine key-value

# List all spaces
LIST-SPACES

# Switch to the created space
USE my_data

Key-Value Operations

Learn the basic key-value operations:

Basic Operations

Key-Value Operations
# Store a key-value pair
PUT user:1 "John Doe"
PUT user:2 "Jane Smith"
PUT config:theme "dark"

# Retrieve values
GET user:1
GET user:2
GET config:theme

# Delete a key
DELETE user:1

# Check if key exists
EXISTS user:2

Batch Operations

Batch Operations
# Store multiple values
PUT user:3 "Bob Johnson"
PUT user:4 "Alice Brown"
PUT user:5 "Charlie Wilson"

# Get multiple values
GET user:3 user:4 user:5

# Delete multiple keys
DELETE user:3 user:4

Next Steps

Congratulations! You've successfully set up ShibuDB and performed basic operations. Here's what you can explore next:

User Management

Learn how to create users and manage permissions

Manage Users

Advanced Configuration

Configure ShibuDB for production use

Configure

Performance Tuning

Optimize ShibuDB for your workload

Optimize

Common Use Cases

  • Session Storage: Store user sessions with automatic expiration
  • Configuration Management: Centralized application configuration
  • Recommendation Systems: Vector-based product recommendations
  • Image Search: Similar image retrieval using vector embeddings
  • Multi-tenant Applications: Isolated data per customer using spaces