Setting Environment Variables for Node to retrieve

前端 未结 16 2163
-上瘾入骨i
-上瘾入骨i 2020-11-22 15:41

I\'m trying to follow a tutorial and it says:

There are a few ways to load credentials.

  1. Loaded from environment variables,
16条回答
  •  醉话见心
    2020-11-22 16:25

    It depends on your operating system and your shell

    On linux with the shell bash, you create environment variables like this(in the console):

    export FOO=bar
    

    For more information on environment variables on ubuntu (for example):

    Environment variables on ubuntu

提交回复
热议问题