-
Notifications
You must be signed in to change notification settings - Fork 80
Installation
Josh Willox edited this page Feb 5, 2021
·
15 revisions
The official way to install Winfetch is with Scoop:
- Ensure that the
extras
bucket is installed:$ scoop bucket add extras $ scoop bucket list main java ... extras
- Install the
winfetch
package:$ 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!
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 [email protected]:lptstr/winfetch.git winfetch
Reset the repository to the latest release:
$ cd winfetch
$ git reset --hard v0.0.0
Then, move the src/winfetch.ps1
file to somewhere on your PATH:
$ mv .\src\winfetch.ps1 ~\bin\
To download the script directly use:
# download development version
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/master/src/posh-winfetch.ps1" -OutFile winfetch.ps1
# download a specific version
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/v2.0.0/src/posh-winfetch.ps1" -OutFile winfetch.ps1
To execute winfetch directly without saving the file to disk use:
Invoke-WebRequest "https://raw.githubusercontent.com/lptstr/winfetch/master/src/posh-winfetch.ps1" | Invoke-Expression