Odoo 18 basic requirement:

PostgreSQL v12+ ( I choose v15 )
Python ( I choose v12 )

Install PostgreSQL by installer first. db port using 5435 ( not standard 5432 )

PostgreSQL installer also ask for postgres user with password ( easy remember for teammate )

Locale choose DEFAULT

Installation Directory: C:\Program Files\PostgreSQL\15
Server Installation Directory: C:\Program Files\PostgreSQL\15
Data Directory: C:\Program Files\PostgreSQL\15\data
Database Port: 5435
Database Superuser: postgres
Operating System Account: NT AUTHORITY\NetworkService
Database Service: postgresql-x64-15
Command Line Tools Installation Directory: C:\Program Files\PostgreSQL\15
pgAdmin4 Installation Directory: C:\Program Files\PostgreSQL\15\pgAdmin 4
Installation Log: C:\Users\Lychee\AppData\Local\Temp\install-postgresql.log

Then install Odoo 18 on Windows using Windows installer downloaded from www.odoo.com official.

Odoo requires a user, use odoo with an easy remember password for teammate. Create user odoo on postgreSQL DB via pgAdmin4 before installing odoo

Customize odoo.conf for specific need

Choose to run odoo on port 8078, with longpolling_port 8098 and gevent_port = 8058

open localhost:8078 as a test and create first DEMO18 db with sample data as test. workers = 1