If you don't use prisma.config.ts and also don't want to use dotenv, you can simply remove prisma.config.ts and variables should become visible.
When using
prisma.config.ts, environment variables from.envfiles are not automatically loaded.
link: Prisma documentation