← Get started SELECT * FROM TheShiraverse · All Nukte
Get started › Part 1 · Setup

Setup: what to do before your first SQL query

This is Part 1 of Get Started: get your laptop ready to write SQL. Choose Windows or Mac, pick the one-command installer or step by step, and verify everything works.

Jo video mein bola, yahan nukte mein likha hai.
What I said in the video, written here as key points.

▶ Watch on YouTube

Setup: what to do

1
Choose computerWindows or Mac
2
Install the toolsOne command, or step by step
3
Check it worksThree version numbers & prompt
⏱ 20 to 30 minutes, mostly waiting

Pehle laptop tayyar karo, phir query likhenge.

This is Part 1 of Get Started: get your laptop ready to write SQL. Every step below has its own page and video in Nukte.

  1. Choose your computer: Windows or Mac
  2. Install the tools: One command, or step by step
  3. Check it works: Three version numbers and a practice=# prompt

Install with one command

Windows

Windows 10 or 11 · PowerShell

Mac

macOS · Terminal
Fastest: one command

Not sure? Take the one-command install. You can always come back and do it manually.

Not sure which one to take? Choose the one-command install. It downloads and configures PostgreSQL, pgAdmin 4, VS Code and Git automatically with the course defaults.

On Windows, download install_windows.ps1 and run it in PowerShell. On Mac, download install_mac.sh and run it in Terminal. See each step-by-step page for full instructions.

Or install step by step

ToolWindowsMac
Step by step (manual)
Homebrewnot needed on WindowsInstall Homebrew
PostgreSQLPostgreSQL and pgAdmin 4Install PostgreSQL
pgAdmin 4comes with PostgreSQL installerInstall pgAdmin 4
VS CodeInstall VS CodeVS Code and Git
GitInstall Gitsame page as VS Code
VerifyVerify everythingVerify everything

Full control over each tool · Every step has its own guide and video.

Every tool has its own dedicated step-by-step Nukte page and video guide with screenshots and terminal instructions.

What gets installed

PostgreSQLThe database engine, where your data lives
pgAdmin 4Visual manager to browse tables and run queries
VS CodeEditor for writing .sql files
GitVersion control for your work

Char zaroori tools. That's all you need for this entire SQL course.

These four tools form your local SQL development environment. No cloud subscriptions or paid software needed. Everything runs right on your computer.

Check that everything works

Terminal / Git Bash– □ ×
$ psql --version psql (PostgreSQL) 18.x $ code --version 1.9x.x $ git --version git version 2.4x.x $ psql -U postgres -d practice practice=#

Three version numbers and a practice=# prompt mean you're ready.

Open a new Terminal (Mac) or Git Bash (Windows) window and verify all tools. If all return version numbers and you can connect to the practice database, setup is complete.

No AI extensions yet. Don't install Copilot or any AI autocomplete during setup. You learn faster writing every query yourself. AI comes back later, in its own bonus session.

Next: Part 2 & 3

2
Meet RetailMartThe retail business behind the data
3
Load the datasetPut 55 tables on your laptop

Laptop tayyar hai! Now meet the database, then load it.

Once the tools are installed and verified, meet the database in Part 2 · Meet RetailMart, then load the 55 tables onto your laptop in Part 3 · Load the dataset.

← → to flip · F fullscreen · N mode