how to configure using environment variables #6566
Unanswered
batusai513
asked this question in
Q&A
Replies: 1 comment
-
Hey there, You have to prefix the config vars with Hope this helps ^^ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to figure out how to configure pnpm using environment variables, I've checked the documentation and it seems possible:
but it is not very clear how to achieve this, I suppose that as in
npm
, all configs will be prefixed, so forstore-dir
will becomepnpn_config_store_dir
, but that did not seems to work, what is the correct format to configure pnpm using env variables and what configs can be change using this method?what I want to achieve is to configure pnpm to not move anything that writes into disk to
/tmp/.pnpm
folderI also tried adding all of those as command line arguments, but discovered that
global-bin-dir
andstate-dir
are treated as unknown arguments by the cliThanks.
Beta Was this translation helpful? Give feedback.
All reactions