To install Neuroblox.jl, you need to first add the JuliaHubRegistry your list of registries that julia checks for available package
using Pkg
Pkg.add("PkgAuthentication")
using PkgAuthentication
PkgAuthentication.install("juliahub.com")
Pkg.Registry.add()
The next step is to install Neuroblox from the JuliaHubRegistry. It is also useful to install some other packages that are commonly used with Neuroblox. These packages are used in the tutorials of the next section. We have included Neuroblox and these other packages into a single Project.toml
file which you can download and then use it to activate a new environment where all the necessary packages will be installed. To do this first choose a folder where you want this environment to be generated in and then run
julia
using Downloads
Downloads.download("raw.githubusercontent.com/Neuroblox/NeurobloxDocsHost/refs/heads/main/Project.toml", joinpath(@__DIR__, "Project.toml"))
Pkg.activate(@__DIR__)
Pkg.instantiate()
Please note that after running these commands Neuroblox
will also be installed along with all other packages that are used in the tutorials.
NOTE: If you want to install only Neuroblox and not the other packages used in the tutorials you can run
> Pkg.add("Neuroblox")
>
Please follow the installation instructions to install Julia on any Operating System.