diff --git a/dev/getting_started_with_julia/index.html b/dev/getting_started_with_julia/index.html index e248ffc..1b6ab35 100644 --- a/dev/getting_started_with_julia/index.html +++ b/dev/getting_started_with_julia/index.html @@ -14,4 +14,4 @@ julia> DataFrame(a=[1,2],b=[3,4])
You should get an error or a BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
Copy the contents of previous code block into a file called Project.toml and place it in an empty folder named newproject. It is important that the file is named Project.toml. You can create a new folder from the REPL with
julia> mkdir("newproject")To install all the packages registered in this file you need to activate the folder containing your Project.toml file
(@v1.8) pkg> activate newprojectand then instantiating it
(newproject) pkg> instantiateThe instantiate command will download and install all listed packages and their dependencies in just one click.
You can get help about a particular package operator by writing help in front of it
(@v1.8) pkg> help activateYou can get an overview of all package commands by typing help alone
(@v1.8) pkg> helpIn some situations it is required to use package commands in Julia code, e.g., to automatize installation and deployment of Julia applications. This can be done using the Pkg package. For instance
julia> using Pkg
-julia> Pkg.status()is equivalent to call status in package mode.
(@v1.8) pkg> statusWe have learned the basics of how to work with Julia. If you want to further dig into the topics we have covered here, you can take a look and the following links
Settings
This document was generated with Documenter.jl version 0.27.25 on Monday 14 August 2023. Using Julia version 1.9.2.