Skip to content

Installation

Rashil Gandhi edited this page Nov 22, 2022 · 15 revisions

Contents

Package manager

PSGallery

This is the recommended way to install Winfetch, using PowerShell Gallery - it offers the fastest execution speed and allows tab-completion of arguments.

> Install-Script winfetch

Scoop

Winfetch can be installed with Scoop:

> scoop install winfetch

Chocolatey

Winfetch can be installed with Chocolatey:

> choco install winfetch -y

Manual

For people who are allergic to package managers.

Note: By not installing Winfetch via a package manager, you will not be able to automatically update Winfetch. Each time a new version is released, you will have to go through these steps again.

Using git

First, clone this repository:

$ git clone git@github.com:lptstr/winfetch.git

Reset the repository to the latest release:

$ cd winfetch
$ git reset --hard v0.0.0

Then, move the winfetch.ps1 file to somewhere on your PATH:

$ mv .\winfetch.ps1 ~\.local\bin\

Using powershell

To download the script directly use:

# download development version
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/master/winfetch.ps1" -OutFile ~\.local\bin\winfetch.ps1 -UseBasicParsing

# download a specific version
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/v2.0.0/winfetch.ps1" -OutFile ~\.local\bin\winfetch.ps1 -UseBasicParsing

To execute winfetch directly without saving the file to disk use:

(Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/master/winfetch.ps1" -UseBasicParsing).Content.Remove(0,1) | Invoke-Expression

Legacy systems

Run this command in cmd.exe to download the batch file (for systems that can't run PowerShell 5+):

bitsadmin /transfer winfetchjob /download /priority foreground "https://raw.githubusercontent.com/lptstr/winfetch/legacy/winfetch.bat" "C:\your\path\here\winfetch.bat"
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy