Install Pelican on Windows
This document explains how to install Pelican on Windows.
Install Pelican as a standalone binary
Pelican provides a binary file instead of a MSI
installer for Windows. You need to download and extract the binary and add the binary to your PATH
environment variable.
-
Navigate to Pelican download page and select the Pelican Windows binary.
-
In the Operating System section, select Windows. Download the file
pelican_Windows_x86_64.zip
to your computer. -
Using Windows Explorer, navigate to folder containing the downloaded
.zip
file and extract it. -
You may run the binary in the extracted folder, but it is recommended that you add Pelican binary to your
PATH
environment variable to allowpelican
to be called directly from your PowerShell. To run Pelican binary from the extracted folder, do the following in PowerShell (opens in a new tab):rem Go to the downloaded Pelican folder $ cd D:\Downloads\pelican_Windows_x86_64 rem Run Pelican binary $ pelican.exe --version Version: 7.5.8 Build Date: 2024-03-01T18:13:00Z Build Commit: d260a07d3b057d19b7fdd36125f91a8768531258 Built By: goreleaser
Add Pelican binary to your PATH
-
Add Pelican binary to your
PATH
for the current PowerShell (opens in a new tab)rem Go to the binary folder $ cd pelican_Linux_arm64 rem Add current folder to the PATH environment variable $ $env:PATH += ";$(Get-Location)" rem Run Pelican binary $ pelican --version Version: 7.5.8 Build Date: 2024-03-01T18:13:00Z Build Commit: d260a07d3b057d19b7fdd36125f91a8768531258 Built By: goreleaser
-
Add Pelican binary to your
PATH
permanently-
Open System Properties:
- Press
Win + R
, typesysdm.cpl
, and pressEnter
.
- Press
-
Access Environment Variables:
- In the System Properties window, go to the
Advanced
tab. - Click on the
Environment Variables
button.
- In the System Properties window, go to the
-
Edit the PATH Variable:
- In the Environment Variables window, under the
System variables
section, scroll down and find thePath
variable, then select it and clickEdit
. - In the Edit Environment Variable window, click
New
and add the path to the directory containingpelican.exe
(e.g.,C:\path\to\directory
). - Click
OK
to close all windows.
- In the Environment Variables window, under the
-
Verify Pelican is added to
PATH
-
In a new PowerShell window, run the following command:
rem Run Pelican binary $ pelican --version Version: 7.5.8 Build Date: 2024-03-01T18:13:00Z Build Commit: d260a07d3b057d19b7fdd36125f91a8768531258 Built By: goreleaser
-
-