I don't install Postgres on my local machine but still it is my default database. Instead of installing it globally, I run Postgres container per project. Start it when I work, kill it when I am done.