If you're using the Fish shell (`/usr/local/bin/fish`) on your Mac, you need to source the Fish configuration file to update the environment variables.
If you are curious to know exactly how to set the [fish](https://fishshell.com/) as a default terminal behaviour on your Mac, here is the simple command that you can use.