# Using a particular environment with Pluto

**URL:** <https://discourse.julialang.org/t/using-a-particular-environment-with-pluto/91967>\
**Category:** Pluto\
**Created:** [December 21, 2022, 4:30pm UTC](https://discourse.julialang.org/t/using-a-particular-environment-with-pluto/91967 "2022-12-21T16:30:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lgmendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lgmendes/32/34577_2.png) [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Post date:** [December 21, 2022, 4:30pm UTC](https://discourse.julialang.org/t/using-a-particular-environment-with-pluto/91967/1 "2022-12-21T16:30:03Z")

</div>

It is possible to use a particular environment in a Pluto notebook? i.e., using a package already installed in a particular environment?  
In the VScode terminal, even when I start Pluto within a particular environment I do not have access to the package and versions already installed.

**Not working:**  
pkg\> activate example  
Activating project at `xxxxxxxxxxxxxxx`  
julia\> Pluto.run()

---

<div class="post-metadata">

**Author:** ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Post date:** [December 21, 2022, 5:04pm UTC](https://discourse.julialang.org/t/using-a-particular-environment-with-pluto/91967/2 "2022-12-21T17:04:08Z")

</div>

You just need to use this command in the first cell of your Pluto Notebook (note that for this to work the notebook needs be **saved** in the same folder as the environment you want to access)

```julia
begin
	import Pkg
	Pkg.activate(".")
end

```

If you activate the environment in the VSCode REPL it has no effect on the Pluto Notebooks, you have to activate the local environment manually inside them.
