I recently started a job that requires react and docker so here's what works for me. Install node.js from their website, use npm to install typescript language server globally, docker binaries like Minikube suggest using `sudo install minikube`, reading the manual for `install` says it simply copies the binary over to /usr/local/bin (already in path! security issue for brew owning this to your user??). You can then use `install` for any CLI tools you need (jq!).
macOS was never designed for package managers, brew does an exceptionally poor job at being a package manager while also fighting against macOS to stay functioning. I highly recommend avoiding brew, it is certainly not a necessity nor supported by packages it hosts.