LCM Logo
Programming

Julia

Installation

Our recommendation is to use juliaup to install and manage Julia versions.

Install juliaup

In macOS or Linux, you can install juliaup using Homebrew:

brew install juliaup

In Windows, you can install juliaup using Scoop:

scoop install juliaup

Install Julia

You can install the latest version of Julia using juliaup:

juliaup add release

Create a new project

For a simple project, use Pkg.generate:

using Pkg
Pkg.generate("MyProject")
Pkg.activate("MyProject")
Pkg.add("Example") # Add dependencies

For a complete package with testing, CI/CD, and license files, use PkgTemplates.jl:

using Pkg
Pkg.add("PkgTemplates")
using PkgTemplates

# Interactive template creation
Template(interactive=true)("MyPkg")

On this page