-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
harish2222 edited this page Jun 18, 2026
·
2 revisions
This guide will help you install Forgum and see your first cow in under 2 minutes.
Copy and paste this into your terminal:
PowerShell (Windows/Mac/Linux):
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/harish2222/Forgum/main/install.ps1'))Bash/Zsh (Mac/Linux):
bash <(curl -fsSL https://raw.githubusercontent.com/harish2222/Forgum/main/install.sh)If you prefer to do it yourself:
# 1. Download the code
git clone https://github.com/harish2222/Forgum.git
# 2. Import it
Import-Module ./Forgum/Forgum.psd1Type this and press Enter:
Invoke-ForgumYou should see something like this:
╭─────────────────────────────────────────╮
│ The best way to predict the future is │
│ to invent it. │
╰─────────────────────────────────────────╯
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Congratulations! You just used Forgum!
# Your own message
Invoke-Cowsay -Text "I love Forgum!"
# A different cow
Invoke-Cowsay -Text "Tux says hi!" -CowFile 'tux'
# A thinking cow
Invoke-Forgum -Think
# Just a fortune (no cow)
Get-Fortune- Install — Forgum was downloaded and set up on your computer
- Import — PowerShell loaded Forgum so you can use its commands
- Run — You told Forgum to show a cow with a fortune
Pick your shell below to see a quick startup config.
Add to your PowerShell profile ($PROFILE):
Import-Module Forgum -ErrorAction SilentlyContinue
Invoke-ForgumAdd to your ~/.bashrc or ~/.zshrc:
forgum() {
pwsh -NoProfile -Command "Import-Module Forgum -ErrorAction SilentlyContinue; Invoke-Forgum"
}
forgumAdd to your ~/.config/fish/config.fish:
function forgum
pwsh -NoProfile -Command "Import-Module Forgum -ErrorAction SilentlyContinue; Invoke-Forgum"
end
forgum-
Profile Customization Functions:
cowconfig,cowpreview,cowgallery,lolcat-toggle,cow-animate,cow-eyes - Customization Guides: Custom cow creation, animation extension, shell wrapper examples
- VS Code & Tab Completion: New integration recipes in the README
See Sample-Configs for ready-to-use configuration examples across all platforms.
- PowerShell Integration — Make Forgum start automatically
- Configuration — Change how it looks
- Custom Cows — Draw your own cows
- Sample-Configs — Ready-to-use shell configurations
Back: Home | Next: PowerShell Integration →