mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
65 lines
1.3 KiB
Markdown
65 lines
1.3 KiB
Markdown
---
|
|
title: Local Development
|
|
sort: 130
|
|
section-id: installation
|
|
keywords: local, development, binary, homebrew, winget, install, macOS, Linux, Windows
|
|
description: Installing NeuralDB locally for development using binaries, Homebrew, or winget
|
|
language: en
|
|
---
|
|
|
|
# Local Development
|
|
|
|
## macOS
|
|
|
|
```bash
|
|
brew tap neuraldb/tap
|
|
brew install neuraldb
|
|
brew services start neuraldb
|
|
```
|
|
|
|
## Linux
|
|
|
|
### Ubuntu / Debian
|
|
|
|
```bash
|
|
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
|
|
|
|
```bash
|
|
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
|
|
|
|
```powershell
|
|
winget install NeuralDB.NeuralDB
|
|
```
|
|
|
|
## First-Time Setup
|
|
|
|
```bash
|
|
neuraldb init
|
|
neuraldb start
|
|
neuraldb-cli
|
|
```
|
|
|
|
```sql
|
|
ALTER USER neuraldb PASSWORD 'your-new-password';
|
|
CREATE DATABASE myapp;
|
|
```
|