Skip to main content

Packages

By default, the following packages are loaded into the Kernel on startup

Wolfram Language Packages

These are standard packages that can be installed on any WL system:

How to install new packages locally?

Via Command Palette

Open your notebook and paste the GitHub link to a repo+ or URL to .paclet file in the command palette located on the top bar.

warning

+ It must contain a PacletInfo.wl file in the root directory of the repository.

Via LPM

Create a new cell and insert:

LPMRepositories[{
"Github" -> "https://github.com/user/MyLibrary"
}]

<<MyLibrary`

or using direct link to a paclet file

LPMRepositories[{
"Github" -> "https://publicURL/MyLibrary.paclet"
}]

<<MyLibrary`

This will create a local folder named wl_packages, where installed packages will be stored.

Global Installation (Classic)

Via Paclets

If the package is hosted on the Wolfram repository, then you can simply run:

PacletInstall["Username/Paclet"]

<<PacletContextName`

Or from a local paclet file:

PacletInstall["path_to_it.paclet"]

<<PacletContextName`

Namespaces

If you have conflicting symbol names or want to scope loaded package into a alias context:

Needs["PacletContextName`"->"myAlias`"]