Skip to content

How and Where to Create Environment Variable? #6321

Answered by code-asher
doncadavona asked this question in Q&A
Discussion options

You must be logged in to vote

Ah yeah the way you set environment variables or add flags will depend on the way you run code-server, and it can also change depending on the operating system. In your case that happens to be systemd and presumably GNU/Linux but there are other paths.

So with that in mind, maybe every time we talk about environment variables in the docs we should link to a section about environment variables and how to set them based on how you run code-server, although admittedly part of me thinks that how to set environment variables is a little too far out of scope for code-server's docs.

Alternatively, maybe instead of recommending environment variables we should recommend editing the config file and…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@code-asher
Comment options

Answer selected by doncadavona
@doncadavona
Comment options

@doncadavona
Comment options

@code-asher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants