An open API service indexing awesome lists of open source software.

https://github.com/postgrescraft/postgresinstaller

"Cross-platform PostgreSQL installer and configuration toolkit for Windows, Linux, and macOS – ready to run from GitHub in seconds."
https://github.com/postgrescraft/postgresinstaller

automation bash database installer linux macos postgresql powershell windows

Last synced: 3 months ago
JSON representation

"Cross-platform PostgreSQL installer and configuration toolkit for Windows, Linux, and macOS – ready to run from GitHub in seconds."

Awesome Lists containing this project

README

          

# 🚀 Postgres Starter Installer

> 🧩 A simple cross-platform installer to get started with PostgreSQL in one command.

---

## 📌 Overview
This repository provides lightweight scripts to automatically install PostgreSQL on:

- 🐧 **Linux** (Debian/Ubuntu)
- 🍎 **macOS** (via Homebrew)
- 🪟 **Windows** (via Chocolatey or Winget)

---

## ⚡ Quick Install

### 🐧 Linux / 🍎 macOS
```bash
bash <(curl -s https://raw.githubusercontent.com/PostgresCraft/PostgresInstaller/main/install.sh)
```

### 🪟 Windows (PowerShell)
```powershell
iwr -useb https://raw.githubusercontent.com/PostgresCraft/PostgresInstaller/main/install.ps1 | iex
```

---

## 🔍 What It Does
- Detects your OS automatically.
- Installs PostgreSQL with required components.
- Sets a default password `admin` for the `postgres` user (Linux/macOS only).
- Verifies the installation.

---

## 📁 File Structure
```
.
├── install.sh # Entry point for Linux/macOS
├── install.ps1 # Windows installation script
├── linux.sh # Linux-specific logic
├── mac.sh # macOS-specific logic
```

---

## 💡 Notes
- For Windows, you may need to manually set the password using pgAdmin or psql.
- Make sure to run the command with admin/sudo privileges if required.

---

## 🤝 Contribution
Pull requests and improvements are welcome!

---

## 🛡️ License
This project is licensed under the MIT License.

---

## 🌟 Credits
Made with ❤️ by the [PostgresCraft](https://github.com/PostgresCraft) community.