Use a Ruby version manager like rbenv to install ruby.
- Install rbenv
brew install rbenv ruby-build
- Install ruby with the version in .ruby-version
rbenv install 3.4.3
- Check the version
ruby -v
ruby 3.4.3 (2025-04-14 revision d0b7e5b6a0) +YJIT +PRISM [arm64-darwin24]
You can install PostgreSQL using postgresapp.com or Homebrew
- Install
brew install postgresql@17
- Add
psql
to$PATH
echo 'export PATH="/opt/homebrew/opt/postgresql@17/bin:$PATH"' >> ~/.bashrc
- Start the server
brew services start postgresql@17
- Create a
postgres
user
createuser -s postgres
- Set the password for postgres
psql postgres
Within psql
ALTER ROLE postgres WITH PASSWORD 'password';
- Visit postgresapp.com and download the app with PostgreSQL app.
- Install the app.
- Start the server and initialize the cluster using the UI
Install docker using homebrew
brew install docker
The latest version of docker comes with docker-compose.
To install the docker desktop, visit https://www.docker.com/products/docker-desktop/