Skip to content

Commit

Permalink
update getting started
Browse files Browse the repository at this point in the history
  • Loading branch information
harisorgn committed Jan 13, 2025
1 parent 2a5072d commit 6666da5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ using Pkg
using Downloads

Downloads.download("raw.githubusercontent.com/Neuroblox/course/refs/heads/main/Project.toml", joinpath(@__DIR__, "Project.toml"))
pkg"registry add General" # add the Generl Registry, necessary to work with NeurobloxRegistry if this is the first time opening Julia
pkg"registry add https://github.com/Neuroblox/NeurobloxRegistry"; # add the Neuroblox Registry to the Julia registries to have access to Neuroblox.jl
Pkg.activate(@__DIR__) # activate a Julia environment at your current directory
Pkg.instantiate() # download all packages listed in the Project.toml we downloaded above
```
> **_NOTE_:**
> If this is your first time using Julia, you *may* also need to add the General registry **before** `Pkg.instantiate()`, which can be done with `pkg"registry add General"`

`Project.toml` is a file containing a list of packages, sometimes with specified versions or version bounds. When we `Pkg.instantiate()` an environment at a directory that includes a `Project.toml` then all listed packages are installed at their most suitable versions.

Expand Down

0 comments on commit 6666da5

Please sign in to comment.