# Pin all packages of a project

**URL:** <https://discourse.julialang.org/t/pin-all-packages-of-a-project/39308>\
**Category:** General Usage\
**Created:** [May 11, 2020, 8:36pm UTC](https://discourse.julialang.org/t/pin-all-packages-of-a-project/39308 "2020-05-11T20:36:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [May 13, 2020, 9:16am UTC](https://discourse.julialang.org/t/pin-all-packages-of-a-project/39308/3 "2020-05-13T09:16:22Z")

</div>

> [@heliosdrm](#):
>
> If this happens without a careful record of the project’s history, such an accident may be a pain.

Note that you can always just `undo`

```julia
(@v1.4) pkg> up # oops
...
   Updating `~/.julia/environments/v1.4/Project.toml`
  [587475ba] ↑ Flux v0.10.4 #master (https://github.com/FluxML/Flux.jl.git) ⇒ v0.10.5 #master (https://github.com/FluxML/Flux.jl.git)
  [91a5bcdd] ↑ Plots v1.2.3 ⇒ v1.2.4
  [295af30f] ↑ Revise v2.5.4 ⇒ v2.6.6
  [e88e6eb3] ↑ Zygote v0.4.19 #master (https://github.com/FluxML/Zygote.jl.git) ⇒ v0.4.20 #master (https://github.com/FluxML/Zygote.jl.git)
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [4c555306] ↑ ArrayLayouts v0.2.5 ⇒ v0.3.1
  [fa961155] ↑ CEnum v0.2.0 ⇒ v0.3.0
  [c5f51814] ↑ CUDAdrv v6.2.3 ⇒ v6.3.0
  [be33ccc6] ↑ CUDAnative v3.0.4 ⇒ v3.1.0
  [587475ba] ↑ Flux v0.10.4 #master (https://github.com/FluxML/Flux.jl.git) ⇒ v0.10.5 #master (https://github.com/FluxML/Flux.jl.git)
  [d9f16b24] + Functors v0.1.0
  [0c68f7d7] ↑ GPUArrays v3.2.0 ⇒ v3.3.0
  [61eb1bfa] + GPUCompiler v0.2.0
  [e88e6eb3] ↑ Zygote v0.4.19 #master (https://github.com/FluxML/Zygote.jl.git) ⇒ v0.4.20 #master (https://github.com/FluxML/Zygote.jl.git)
  [9fa8497b] + Future
   Building Plots → `~/.julia/packages/Plots/zOV0T/deps/build.log`

(@v1.4) pkg> undo # pwew
   Updating `~/.julia/environments/v1.4/Project.toml`
  [587475ba] ↓ Flux v0.10.5 #master (https://github.com/FluxML/Flux.jl.git) ⇒ v0.10.4 #master (https://github.com/FluxML/Flux.jl.git)
  [91a5bcdd] ↓ Plots v1.2.4 ⇒ v1.2.3
  [295af30f] ↓ Revise v2.6.6 ⇒ v2.5.4
  [e88e6eb3] ↓ Zygote v0.4.20 #master (https://github.com/FluxML/Zygote.jl.git) ⇒ v0.4.19 #master (https://github.com/FluxML/Zygote.jl.git)
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [4c555306] ↓ ArrayLayouts v0.3.1 ⇒ v0.2.5
  [fa961155] ↓ CEnum v0.3.0 ⇒ v0.2.0
  [c5f51814] ↓ CUDAdrv v6.3.0 ⇒ v6.2.3
  [be33ccc6] ↓ CUDAnative v3.1.0 ⇒ v3.0.4
  [587475ba] ↓ Flux v0.10.5 #master (https://github.com/FluxML/Flux.jl.git) ⇒ v0.10.4 #master (https://github.com/FluxML/Flux.jl.git)
  [d9f16b24] - Functors v0.1.0
  [0c68f7d7] ↓ GPUArrays v3.3.0 ⇒ v3.2.0
  [61eb1bfa] - GPUCompiler v0.2.0
  [e88e6eb3] ↓ Zygote v0.4.20 #master (https://github.com/FluxML/Zygote.jl.git) ⇒ v0.4.19 #master (https://github.com/FluxML/Zygote.jl.git)
  [9fa8497b] - Future

```

---

_[View the full topic](https://discourse.julialang.org/t/pin-all-packages-of-a-project/39308)._
