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."
- Host: GitHub
- URL: https://github.com/postgrescraft/postgresinstaller
- Owner: PostgresCraft
- License: mit
- Created: 2025-06-15T14:30:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-15T15:37:24.000Z (about 1 year ago)
- Last Synced: 2025-06-17T04:33:53.508Z (about 1 year ago)
- Topics: automation, bash, database, installer, linux, macos, postgresql, powershell, windows
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.