I am developing a Julia package that I have added via dev <github url>
. I can enter Pkg mode in the terminal via ] activate
and get the prompt I want.
Suppose I want to change the version of Flux used with the package from v0.9.0 to v0.10.0. How do I go about doing that?
You can use Pkg to install multiple packages (https://github.com/JuliaLang/julia/issues/19591). For instance: Pkg. add(["Combinatorics", "TaylorSeries"]) . If your list sits in a text file, you can just load it and pass it to Pkg.
The list of registered Julia packages can be found at http://pkg.julialang.org. All package manager commands are found in the Pkg module, included in Julia's Base install.
Use the Pkg REPL notation: ] status # Show every installed package version ] status pkgName # Show the specific version of the package ] status pkgName1 pkgName2 # Show the named packages. You can continue the list.
You can use pkg> update Flux
or pkg> add [email protected]
in the same environment where you have added the package you are developing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With