# Auto-Installing Dependencies

**URL:** <https://discourse.julialang.org/t/auto-installing-dependencies/38312>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [April 27, 2020, 3:18pm UTC](https://discourse.julialang.org/t/auto-installing-dependencies/38312 "2020-04-27T15:18:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![themadprogramer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/themadprogramer/32/14086_2.png) [@themadprogramer](https://discourse.julialang.org/u/themadprogramer)\
**Post date:** [April 27, 2020, 3:18pm UTC](https://discourse.julialang.org/t/auto-installing-dependencies/38312/1 "2020-04-27T15:18:18Z")

</div>

So let’s say I have a project with dependencies. I could them to install with

```julia
Pkg.add()

```

But I’ve also read a bit about [`Project.toml`](https://julialang.github.io/Pkg.jl/v1/toml-files/#Project.toml-1) and [`Manifest.toml`](https://julialang.github.io/Pkg.jl/v1/toml-files/#Manifest.toml-1), which seem a lot cleaner. I don’t quite get if or how they automate the installation of dependencies so could someone please help me?

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [April 27, 2020, 3:21pm UTC](https://discourse.julialang.org/t/auto-installing-dependencies/38312/2 "2020-04-27T15:21:33Z")

</div>

If you have cloned a repo that declares it’s dependencies, you can just use `Pkg.instantiate()` and it will install the correct versions of everything.
