Add this to ~/.direnvrc:
This is almost the same as used by
https://github.com/apollographql/apollo-server/blob/main/.envrc
except they (like I) prefer to just put it in local .envrc instead of requesting all developers put something in a file outside of the project root.
Also, the version at https://github.com/apollographql/apollo-server/blob/main/.envrc is slightly better.