https://github.com/lukesampson/scoop/blob/master/bucket/postgresql.json scoop postgresql inst-win https://www.postgresql.org/download/windows/ https://www.enterprisedb.com/download-postgresql-binaries https://www.enterprisedb.com/downloads/postgres-postgresql-downloads https://get.enterprisedb.com/postgresql/postgresql-9.6.2-1-windows-x64.exe https://www.enterprisedb.com/products-services-training/pgbindownload https://www.postgresql.org/docs/ http://www.enterprisedb.com/docs/en/9.3/pginstguide/Table%20of%20Contents.htm http://stackoverflow.com/questions/22193927/how-to-install-postgresql-on-windows-using-command-prompt initdb a new datadir, then start the server with pg_ctl http://serverfault.com/questions/310142/bash-script-to-install-postgresql postgresql--windows-x64.exe --optionfile Cmd-line installation options: http://www.enterprisedb.com/docs/en/9.3/pginstguide/PostgreSQL_Installation_Guide-12.htm --unattendedmodeui --mode unattended --superpassword PGSQL-123 --servicepassword PGSQL-123 --prefix d:/dev/utils/pgsql --datadir d:/dev/utils/pgsql/data --serverport 5432 --optionfile ...\.cfg\pgcfg scripts\serverctl.vbs installer\ prerun_checks.vbs server\ createshortcuts.vbs initcluster.vbs loadmodules.vbs startserver.vbs startupcfg.vbs