Skip to content

🏳️‍⚧️ a fast, cross-platform system info CLI with beautiful theme support

Notifications You must be signed in to change notification settings

almightynan/dawnfetch

Repository files navigation

dawnfetch

a fast, themed, cross-platform system info CLI inspired by neofetch and fastfetch.

release build latest release go stars

Quick links: InstallBuildBenchmarkShowcase

Logo credits: all distro ASCII logos in ascii/ are sourced from the fastfetch project. Credit goes to the fastfetch contributors.

Install

Choose one method:

  1. Linux/macOS (recommended)
curl -fsSL https://raw.githubusercontent.com/almightynan/dawnfetch/main/cli/install.sh | bash
  1. Windows (PowerShell)
powershell -c "irm https://raw.githubusercontent.com/almightynan/dawnfetch/main/cli/install.ps1 | iex"
  1. Windows 7 / old PowerShell fallback
$f="$env:TEMP\dawnfetch-install.ps1";(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/almightynan/dawnfetch/main/cli/install.ps1',$f);powershell -File $f
  1. npm
npm i -g dawnfetch

After npm install (if command is not recognized):

  • Linux (current shell): source ~/.bashrc or source ~/.zshrc
  • Windows PowerShell (current window):
$env:Path=[Environment]::GetEnvironmentVariable("Path","User")+";"+[Environment]::GetEnvironmentVariable("Path","Machine")
  • Or simply close and reopen the terminal.

If your system is on older Node/npm (example: Node 12 / npm 6), prefer direct install instead of npm:

powershell -c "irm https://raw.githubusercontent.com/almightynan/dawnfetch/main/cli/install.ps1 | iex"

If you use bun and see Blocked postinstall, allow trusted scripts and reinstall:

bun pm -g untrusted
bun remove -g dawnfetch && bun add -g dawnfetch

To verify installation run:

dawnfetch --version
dawnfetch

Build from source

All build scripts output binaries to the repo root dist/ directory.

Linux:

bash build/build-linux.sh

macOS:

bash build/build-macos.sh

Windows (PowerShell):

powershell -File build/build-windows.ps1

Expected outputs:

  • dist/dawnfetch-linux-amd64
  • dist/dawnfetch-linux-arm64
  • dist/dawnfetch-linux-386
  • dist/dawnfetch-macos-amd64
  • dist/dawnfetch-macos-arm64
  • dist/dawnfetch-windows-amd64.exe
  • dist/dawnfetch-windows-386.exe
  • dist/dawnfetch-windows-arm64.exe

Benchmark (100 runs)

Run benchmark:

python3 bench/benchmark.py --runs 100 --warmup 1

Hyperfine results (100 runs):

Tool Runs Mean (ms) Median (ms) P95 (ms) Min (ms) Max (ms) StdDev (ms)
dawnfetch 100 7.43 6.60 7.55 6.01 42.79 4.53
fastfetch 100 11.91 10.99 14.33 10.13 52.03 5.24
hifetch 100 17.55 17.10 17.75 16.60 56.41 3.93
macchina 100 100.95 75.37 221.11 48.82 578.82 71.91
neofetch 100 398.99 386.21 449.06 361.81 771.10 46.58
screenfetch 100 848.98 687.62 1374.44 640.72 6485.31 626.92

benchmark ran using hyperfine via: bench/benchmark.py

About

🏳️‍⚧️ a fast, cross-platform system info CLI with beautiful theme support

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors