Environement variables

We have two questions :

First: how to access Cloudflare to get env on my local ?

Second: how to give access to env variables for dev ?

You can either use the env section in wrangler for normal environment variables or make a .dev.vars file for using secrets locally.