environment variable not showing after set
For newly created accounts Catalina uses zsh instead of bash, so you need to add the lines to the appropriate file (probably ~/.zshenv to make sure it's read in all cases).