-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
harish2222 edited this page Jun 19, 2026
·
2 revisions
This guide covers all the ways to install Forgum on your computer.
Copy and paste this into PowerShell:
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/harish2222/Forgum/main/install.ps1'))This will:
- Download Forgum
- Install it to your PowerShell modules folder
- Add it to your PowerShell profile
- Test that everything works
Copy and paste this into your terminal:
bash <(curl -fsSL https://raw.githubusercontent.com/harish2222/Forgum/main/install.sh)This will:
- Check if PowerShell is installed
- Download Forgum
- Install it to the correct location
- Set up shell integration
- Test that everything works
Copy and paste this into your terminal:
bash (curl -fsSL https://raw.githubusercontent.com/harish2222/Forgum/main/install.sh | psub)If you prefer to do it yourself:
# Using git (recommended)
git clone https://github.com/harish2222/Forgum.git
# Or download from GitHub
# Go to https://github.com/harish2222/Forgum
# Click "Code" → "Download ZIP"
# Extract the ZIP fileWindows:
# Find your modules folder
$env:PSModulePath -split ';'
# Copy Forgum there (usually)
Copy-Item -Path ".\Forgum" -Destination "$env:USERPROFILE\Documents\PowerShell\Modules\Forgum" -RecurseMac/Linux:
# Find your modules folder
echo $env:PSModulePath -split ':'
# Copy Forgum there (usually)
cp -r ./Forgum ~/.local/share/powershell/Modules/ForgumImport-Module ForgumforgumIf Forgum is published to the PowerShell Gallery:
Install-Module -Name Forgum -Scope CurrentUser- PowerShell 5.1 or newer (pre-installed on Windows 10/11)
- No other software needed
- PowerShell 7 or newer
- Install with:
brew install powershell
- PowerShell 7 or newer
- Install with:
sudo apt install powershell(Ubuntu/Debian) - Or:
sudo yum install powershell(CentOS/RHEL)
| Platform | Location |
|---|---|
| Windows | ~/Documents/PowerShell/Modules/Forgum/ |
| Mac/Linux | ~/.local/share/powershell/Modules/Forgum/ |
| Platform | Location |
|---|---|
| Windows | ~/Documents/PowerShell/forgum/config.json |
| Mac/Linux | ~/.config/forgum/config.json |
Run these commands to make sure everything is working:
# Check if Forgum is installed
Get-Module -ListAvailable | Where-Object {$_.Name -eq "Forgum"}
# Check the version
(Get-Module Forgum).Version
# Test it
forgumWindows:
.\uninstall.ps1Mac/Linux:
# Find the uninstall script
find ~/.local/share/powershell/Modules/Forgum -name "uninstall.ps1"
# Run it
pwsh -File <path-to-uninstall.ps1>-
Delete the Forgum folder:
# Windows Remove-Item ~/Documents/PowerShell/Modules/Forgum -Recurse # Mac/Linux rm -rf ~/.local/share/powershell/Modules/Forgum
-
Remove from your profile:
- Open your PowerShell profile (
$PROFILE) - Delete the
Import-Module Forgumline - Delete the
forgumline
- Open your PowerShell profile (
-
Delete config (optional):
# Windows Remove-Item ~/Documents/PowerShell/forgum -Recurse # Mac/Linux rm -rf ~/.config/forgum
Now that Forgum is installed, check out:
- Getting Started — Try your first cow
- PowerShell Integration — Make it start automatically
- Configuration — Change how it looks
Back: Home | Next: Getting Started →