How to Install unofficial Packages in Julia
Guide
For unofficial packages, it is sometimes explained as a complex process requiring registration and so on, but in reality, it can be installed just by having the GitHub address1.
Suppose the GitHub remote repository address of the package you want to install is https://github.com/JuliaLang/Example.jl
.
Pkg
using Pkg; Pkg.add(url="https://github.com/JuliaLang/Example.jl")
This is the method using the Pkg
package.
Package Management Mode
] add https://github.com/JuliaLang/Example.jl
This is a method to enter the package manager mode and install using the add
command.
Environment
- OS: Windows
- julia: v1.11.1