# Create an implicit environment with package directories

**URL:** <https://discourse.julialang.org/t/create-an-implicit-environment-with-package-directories/109207>\
**Category:** New to Julia\
**Created:** [January 24, 2024, 7:38pm UTC](https://discourse.julialang.org/t/create-an-implicit-environment-with-package-directories/109207 "2024-01-24T19:38:49Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![francis-gagnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/francis-gagnon/32/50424_2.png) [@francis-gagnon](https://discourse.julialang.org/u/francis-gagnon)\
**Post date:** [January 25, 2024, 8:53pm UTC](https://discourse.julialang.org/t/create-an-implicit-environment-with-package-directories/109207/16 "2024-01-25T20:53:18Z")

</div>

The script in `executablePath` did not work, but I found another solution that seems to work well. Simply add this line in `.vscode/setting.json`:

```json
  "julia.additionalArgs": [  
      "-e pushfirst!(LOAD_PATH, pwd())"
  ],

```

With this, a fresh REPL session in VS Code give:

```julia-repl
shell> ls
Aardvark env

julia> using Aardvark

julia> 

```

---

_[View the full topic](https://discourse.julialang.org/t/create-an-implicit-environment-with-package-directories/109207)._
