That’s not what getEnv does. It tells you whether your code is executing in the client or server, it doesn’t give access to environment variables. There’s no syscall for that in fact. It’s not completely trivial to add either. Perhaps it’s best to create a GitHub issue so we can also talk use cases.