-If you have access to the project on Netlify, install the Netlify CLI with `npm install -g netlify-cli`, then run `netlify link` in the project root to link your local repo to the desired Netlify project (for most local development this should probably be the staging instance). Once that link is done you can start a local server with `netlify dev`. In this case you don't need to worry about maintaining a local `.env` file for environment variables, since Netlify will inject them.
0 commit comments