prberg
(Paul Berg)
April 18, 2025, 2:12pm
1
It would be helpful to be able to pull only the user-set environment variables when using vercel env pull
.
At the moment, the CLI pulls all env vars, including VERCEL_
and TURBO_
-prefixed vars that are not explicitly set by us (in the Vercel UI).
Thus, adding a flag like --user-set
to the vercel env pull
command would be helpful.
swarnava
(Swarnava Sengupta)
April 18, 2025, 4:38pm
2
I don’t think we pull system environment variable that are set to blank as part of [cli] Don't pull system environment vars in dev by onsclom · Pull Request #11526 · vercel/vercel · GitHub . Do you have a repro?
prberg
(Paul Berg)
April 18, 2025, 5:25pm
3
It’s a private repo, unfortunately.
But I am pulling from Production and Staging, not Development. Is that the cause?
swarnava
(Swarnava Sengupta)
April 18, 2025, 5:37pm
4
Not sure. What version of CLI are you using? I just ran vercel env pull
on Vercel CLI 41.4.1 and I cannot locate any TURBO_
prefixed env vars on .env.local
file.