mdcms/neuraldb-docs/pages/install-local.md

1.3 KiB

title sort section-id keywords description language
Local Development 130 installation local, development, binary, homebrew, winget, install, macOS, Linux, Windows Installing NeuralDB locally for development using binaries, Homebrew, or winget en

Local Development

macOS

brew tap neuraldb/tap
brew install neuraldb
brew services start neuraldb

Linux

Ubuntu / Debian

curl -fsSL https://packages.neuraldb.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/neuraldb-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/neuraldb-keyring.gpg] https://packages.neuraldb.io/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/neuraldb.list
sudo apt update && sudo apt install -y neuraldb
sudo systemctl enable --now neuraldb

RHEL / Fedora

sudo rpm --import https://packages.neuraldb.io/gpg
sudo tee /etc/yum.repos.d/neuraldb.repo <<'EOF'
[neuraldb]
name=NeuralDB Repository
baseurl=https://packages.neuraldb.io/rpm/stable
enabled=1
gpgcheck=1
gpgkey=https://packages.neuraldb.io/gpg
EOF
sudo dnf install -y neuraldb
sudo systemctl enable --now neuraldb

Windows

winget install NeuralDB.NeuralDB

First-Time Setup

neuraldb init
neuraldb start
neuraldb-cli
ALTER USER neuraldb PASSWORD 'your-new-password';
CREATE DATABASE myapp;