# \#environment-variable

**URL:** https://discourse.julialang.org/tag/environment-variable/1257.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Julia segmentation core dump error](https://discourse.julialang.org/t/julia-segmentation-core-dump-error/125599)

<div class="topic-metadata">

**Author:** [@Sachin\_thorat](https://discourse.julialang.org/u/Sachin_thorat)\
**Replies:** 24\
**Last updated:** [January 13, 2026, 7:27pm UTC](https://discourse.julialang.org/t/julia-segmentation-core-dump-error/125599 "2026-01-13T19:27:32Z")

</div>

I have tried multiple re-installs for julia. But found no luck. The julia exits with a warning “core dumped” after I try to install packages. Same results occurred with installed julia using curl and while using the tar …

---

## [KNITRO license path](https://discourse.julialang.org/t/knitro-license-path/130145)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 4\
**Last updated:** [June 24, 2025, 6:42pm UTC](https://discourse.julialang.org/t/knitro-license-path/130145 "2025-06-24T18:42:53Z")

</div>

From where does Julia in VS Code source environmental variables setting the KNITRO license path ENV\[“ARTELYS\_LICENSE”\]? The issue: I updated my KNITRO license file and its location and set the environment variable in .…

---

## [The Mismatch between pwd() and @\_\_DIR\_\_ and how it impacts packages like GLMakie](https://discourse.julialang.org/t/the-mismatch-between-pwd-and-dir-and-how-it-impacts-packages-like-glmakie/130036)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 1\
**Last updated:** [June 19, 2025, 6:02pm UTC](https://discourse.julialang.org/t/the-mismatch-between-pwd-and-dir-and-how-it-impacts-packages-like-glmakie/130036 "2025-06-19T18:02:57Z")

</div>

When I run Julia in a modularised structure in VSCode and try accessing files in a folder sibling the the folder of the source file, all within a root project directory, something interesting happens. (All of the follow…

---

## [Environment variables, debugging, globals, etcetera](https://discourse.julialang.org/t/environment-variables-debugging-globals-etcetera/124928)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 2\
**Last updated:** [January 19, 2025, 11:49pm UTC](https://discourse.julialang.org/t/environment-variables-debugging-globals-etcetera/124928 "2025-01-19T23:49:12Z")

</div>

Suppose that I want to use a global switch to turn certain activity on or off. An example activity would be to save a large amount of state information to disk after an iteration (or not). There are several ways of ach…

---

## [Is it possible to use environmental variables in YAML.jl?](https://discourse.julialang.org/t/is-it-possible-to-use-environmental-variables-in-yaml-jl/114565)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [May 24, 2024, 10:29am UTC](https://discourse.julialang.org/t/is-it-possible-to-use-environmental-variables-in-yaml-jl/114565 "2024-05-24T10:29:25Z")

</div>

I would like to store relative paths in my YAML file. Googling, I saw that the way to do it in other languages is to use environmental variables. So I did try with: scenario\_path = "/some/path/" settings\_path = joinpa…

---

## [Runtime initializaion of parametric type in package from input](https://discourse.julialang.org/t/runtime-initializaion-of-parametric-type-in-package-from-input/99080)

<div class="topic-metadata">

**Author:** [@FireCrumb](https://discourse.julialang.org/u/FireCrumb)\
**Replies:** 0\
**Last updated:** [May 18, 2023, 6:33pm UTC](https://discourse.julialang.org/t/runtime-initializaion-of-parametric-type-in-package-from-input/99080 "2023-05-18T18:33:37Z")

</div>

Hi, I have a package, where I want to define MyStaticVectorType type, as an alias to SVector{MEM\_SIZE,Int} (from StaticArrays.jl). Where MEM\_SIZE is loaded from environment variable when the program runs, so it’s avail…

---

## [Share application on cluster: read-only access to JULIA\_DEPOT\_PATH?](https://discourse.julialang.org/t/share-application-on-cluster-read-only-access-to-julia-depot-path/93428)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 5\
**Last updated:** [January 23, 2023, 11:23pm UTC](https://discourse.julialang.org/t/share-application-on-cluster-read-only-access-to-julia-depot-path/93428 "2023-01-23T23:23:21Z")

</div>

To share a Julia CLI application with other users of the same cluster, is it OK if I ask them to invoke my Julia application from my bash script which sets JULIA\_DEPOT\_PATH to my own ~/.julia directory (using the absolut…
