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.zipto your computer. -
Using Windows Explorer, navigate to folder containing the downloaded
.zipfile and extract it. -
You may run the binary in the extracted folder, but it is recommended that you add Pelican binary to your
PATHenvironment variable to allowpelicanto be called directly from your PowerShell. To run Pelican binary from the extracted folder, do the following in PowerShell :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
PATHfor the current PowerShellrem 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
PATHpermanently-
Open System Properties:
- Press
Win + R, typesysdm.cpl, and pressEnter.
- Press
-
Access Environment Variables:
- In the System Properties window, go to the
Advancedtab. - Click on the
Environment Variablesbutton.
- In the System Properties window, go to the
-
Edit the PATH Variable:
- In the Environment Variables window, under the
System variablessection, scroll down and find thePathvariable, then select it and clickEdit. - In the Edit Environment Variable window, click
Newand add the path to the directory containingpelican.exe(e.g.,C:\path\to\directory). - Click
OKto 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
-
-