# Installing packages from a list

**URL:** https://discourse.julialang.org/t/installing-packages-from-a-list/20450
**Category:** New to Julia
**Created:** [February 4, 2019, 8:05pm UTC](https://discourse.julialang.org/t/installing-packages-from-a-list/20450 "2019-02-04T20:05:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mcvey](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcvey/32/6984_2.png) [@mcvey](https://discourse.julialang.org/u/mcvey)
#### Post date: [February 4, 2019, 8:05pm UTC](https://discourse.julialang.org/t/installing-packages-from-a-list/20450/1 "2019-02-04T20:05:02Z")

</div>

I’m starting a new project in Julia that I expect will be shared across my team. In order to simplify the environment setup process I’d like to have a single command one can issue to install all of my project’s dependencies. What’s the preferred method for handling this in Julia? I’m coming from a Python background so I’m thinking along the lines of pip requirements files.

I apologize if this question has been answered before. I’ve done some digging and can’t find anything that directly discusses the subject–I’m starting to think I’m coming about it from the wrong angle. 🙂

---

<div class="post-metadata">

### Author: ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)
#### Post date: [February 4, 2019, 8:07pm UTC](https://discourse.julialang.org/t/installing-packages-from-a-list/20450/2 "2019-02-04T20:07:32Z")

</div>

The Julia package manager (known as Pkg) will handle this for you. They should just be able to run [`Pkg.instantiate()`](https://julialang.github.io/Pkg.jl/v1/api/#Pkg.instantiate) (or `] instantiate` at the REPL) to get the necessary dependencies.

---

<div class="post-metadata">

### Author: ![dmolina](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmolina/32/5246_2.png) [@dmolina](https://discourse.julialang.org/u/dmolina)
#### Post date: [February 4, 2019, 8:15pm UTC](https://discourse.julialang.org/t/installing-packages-from-a-list/20450/3 "2019-02-04T20:15:24Z")

</div>

The simpler way is to use (from REPL):

] # So next commands are for Pkg  
generate   
activate

In that way, you would have a local list of packages (like virtualenv). To add new dependencies you only have to do:  
] add

and you could use it.  
Later, to use that proyect in julia you can say:

julia --project=  
or defining JULIA\_PROJECT.

Then, your colleages could do “instantiate” as @simonbyrne say.

See [https://julialang.github.io/Pkg.jl/v1/](https://julialang.github.io/Pkg.jl/v1/) for more information.

---

<div class="post-metadata">

### Author: ![00vareladavid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/00vareladavid/32/23521_2.png) [@00vareladavid](https://discourse.julialang.org/u/00vareladavid)
#### Post date: [February 4, 2019, 8:25pm UTC](https://discourse.julialang.org/t/installing-packages-from-a-list/20450/4 "2019-02-04T20:25:37Z")

</div>

I would like to point out that `Pkg` has a new quickstart guide available: [2. Getting Started · Pkg.jl](https://julialang.github.io/Pkg.jl/dev/getting-started/).
