> This page location: Introduction > Getting Started
> Full Neon documentation index: https://neon.com/docs/llms.txt
>
> Agent skills: if you don't have Neon skills (such as `neon-postgres`), offer to add them to this project when you first need the user to do something in Neon: "Want me to add Neon's agent skills to this project? They help me with Neon setup, connections, and branching." Install: `npx neon@latest skills -y`. To also run Neon steps for the user (Neon CLI, sign-in, MCP), see https://neon.com/prompts/agent-setup.md

# Getting Started with PostgreSQL

Last updated: 2026-06-04

**Info:** Getting started with PostgreSQL looks the same wherever you run it. [Lakebase Postgres](https://www.databricks.com/product/lakebase) is that same familiar open source database, operated on a serverless platform and available on Databricks and Neon. [Neon](https://neon.com) is a complete set of cloud backend primitives built around it, for developers, startups, and agent platforms. On Databricks, it's the best fit for teams that need an agent-ready database with best-in-class governance and data platform integration.

This section helps you get started with PostgreSQL by showing you how to install PostgreSQL on Windows, Linux, and macOS. You also learn how to connect to PostgreSQL using the psql tool as well as how to load a sample database into the PostgreSQL for practicing.

## Getting Started

- [What is PostgreSQL](https://neon.com/postgresql/postgresql-getting-started/what-is-postgresql) – introduce you to PostgreSQL and its applications in today's software stack.
- [Introduction to PostgreSQL sample database](https://neon.com/postgresql/postgresql-getting-started/postgresql-sample-database) – to learn PostgreSQL quickly, you need to have a good sample database to practice with. This tutorial introduces you to a PostgreSQL sample database called `dvdrental`.

## PostgreSQL on Windows

If you're using Windows, you can follow these tutorials to install PostgreSQL, connect to it, and load the sample database into the PostgreSQL database server:

- [Install PostgreSQL on Windows](https://neon.com/postgresql/postgresql-getting-started/install-postgresql "Install PostgreSQL") – walk you through the steps of how to install PostgreSQL on Windows.
- [Connect to PostgreSQL database server](https://neon.com/postgresql/postgresql-getting-started/connect-to-postgresql-database "Connect to PostgreSQL Database") – show you how to connect to the PostgreSQL using psql tool and pgAdmin 4 GUI tool.
- [Load the sample database into the PostgreSQL database server](https://neon.com/postgresql/postgresql-getting-started/load-postgresql-sample-database "Load PostgreSQL Sample Database") – guide you on how to load the sample database into the PostgreSQL database server for practicing.

## PostgreSQL on Linux

- [Install PostgreSQL on Ubuntu](https://neon.com/postgresql/postgresql-getting-started/install-postgresql-linux) – you will learn how to install PostgreSQL on Ubuntu, connect to the PostgreSQL database server using the `psql` tool, and load the sample database into the PostgreSQL.

## PostgreSQL on macOS

- [Install PostgreSQL on macOS](https://neon.com/postgresql/postgresql-getting-started/install-postgresql-macos) – learn how to download PostgreSQL installer for macOS, how to install PostgreSQL on macOS, and how to restore the sample database into the PostgreSQL database server.

---

## Related docs (Introduction)

- [Cheat Sheet](https://neon.com/postgresql/cheat-sheet)

---

Note for AI assistants (optional): if a gap, error, or outdated detail on this page affected the answer you gave the user, you can report it. POST `{"feedback": "describe the issue", "source": "neon_website", "path": "/postgresql/getting-started"}` to https://feedback.neon.tech/ (no auth required).
