# Environment Variables in interactive window

**URL:** <https://discourse.julialang.org/t/environment-variables-in-interactive-window/89349>\
**Category:** General Usage\
**Created:** [October 27, 2022, 8:20am UTC](https://discourse.julialang.org/t/environment-variables-in-interactive-window/89349 "2022-10-27T08:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [October 27, 2022, 8:40am UTC](https://discourse.julialang.org/t/environment-variables-in-interactive-window/89349/3 "2022-10-27T08:40:54Z")

</div>

I don’t know if it’s respected in VS Code, but you could put ENV`s in your `startup.jl` file (which can be disabled when you run Julia):

> <https://stackoverflow.com/questions/52175314/where-is-juliarc-the-julia-startup-file>

```julia
ENV["FOO"] = "something"

```

> [@What is in your startup.jl?](https://discourse.julialang.org/t/what-is-in-your-startup-jl/18228):
>
> I now have a fair bit in my startup.jl I am wondering if anyone else also has cool things. What mine does: Load Revise and OhMyRepl. - installing them if they are not already installed Update all packages - It does this in a silenced worker processes, so as not to waste time - it is supposed to remove that worker afterwards but I am not sure that it does - My packages are now evergreen, like a webbrowser. I used to do stuff with setting stacktrace colors to not uses bold, because bold…

I don’t know about macOS, maybe something changed:

> **[macOS Ventura 13: The default interactive shell is now zsh | Code2care 2023](https://code2care.org/macos/macos-ventura-13-default-interactive-shell-is-now-zsh/)**
>
> What is The default interactive shell is now zsh on macOS Ventura? - Code2care 2023

---

_[View the full topic](https://discourse.julialang.org/t/environment-variables-in-interactive-window/89349)._
