-
Notifications
You must be signed in to change notification settings - Fork 92
Installation
The official way to install Winfetch is with Scoop:
- Ensure that the
extrasbucket is installed:$ scoop bucket add extras $ scoop bucket list main java ... extras - Install the
winfetchpackage:$ scoop install winfetch Installing 'winfetch' (1.0.0) [64bit] Loading v1.0.0 from cache Checking hash of v1.0.0 ... ok. Extracting dl.7z ... done. Linking ~\scoop\apps\winfetch\current => ~\scoop\apps\winfetch\1.0.0 Creating shim for 'winfetch'. 'winfetch' (1.0.0) was installed successfully!
This is an unofficial (and possibly temporary) way to install Winfetch, using PowerShell Gallery:
Install-Script -Name pwshfetch-test-1
Set-Alias winfetch pwshfetch-test-1 # Put this in $PROFILEIt is recommended to add the second line to the respective $PROFILE, to make calling Winfetch easier.
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.
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\
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 -UseBasicParsingTo execute winfetch directly without saving the file to disk use:
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/master/winfetch.ps1" -UseBasicParsing | Invoke-ExpressionRun 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"Optionally, to enable colors in output, download the colous binary too:
bitsadmin /transfer colousjob /download /priority foreground "https://raw.githubusercontent.com/lptstr/winfetch/legacy/colous.exe" "C:\your\path\here\colous.exe"