Spanish Total.js
English
Documentation For AI agents
Contents

Install the command

TotalFetch comes with a command, totalfetch, that shows your summary in any terminal. One button puts it on your computer, and the same button takes it away.

.md GitHub
On this page

Install it from the app

  1. Open TotalFetch.
  2. In In your terminal, press Install the command.
  3. Open a new terminal. Those already open do not know the command yet.

Run it on the Mac and Linux

totalfetch

Run it on Windows

In a new PowerShell:

totalfetch

The Command Prompt does not know where the command is, so write its whole path there:

"%LOCALAPPDATA%\TotalJS\bin\totalfetch.exe"
TotalFetch writes in the profile of PowerShell. If your Windows does not let PowerShell run scripts, the profile does not run: use the whole path there too, & "$env:LOCALAPPDATA\TotalJS\bin\totalfetch.exe".

The options of the command

CommandWhat it does
totalfetchShows the summary
totalfetch --plainShows it without colours. It does the same when the variable NO_COLOR is set
totalfetch --on-openShows it only if the greeting is on. This is what your terminal runs when it opens
totalfetch --versionSays its version
totalfetch --helpLists the options

What changes on your computer

SystemThe commandThe files of your terminal
macOS~/.totaljs/bin/totalfetchA block in ~/.zshrc, and in ~/.bashrc if you have that file or bash is your shell
Linux~/.totaljs/bin/totalfetchA block in ~/.zshrc and ~/.bashrc, in those that exist and in the one of your shell
Windows%LOCALAPPDATA%\TotalJS\bin\totalfetch.exeA block in Microsoft.PowerShell_profile.ps1, in the folders PowerShell and WindowsPowerShell of your documents

If you use fish, it gets a file of its own: ~/.config/fish/conf.d/totalfetch.fish.

The block is between two lines that you can recognise, # >>> totalfetch >>> and # <<< totalfetch <<<. The first time that TotalFetch changes a file, it keeps a copy next to it, whose name ends in .totalfetch-backup.

Take it away

Press Uninstall. The command, the blocks and the file of fish are removed, and the rest of your files stays. The copies stay too: delete them when you do not need them.

Press Uninstall before you remove the app. If you remove the app first, the command stays on your computer and keeps working.

Update it

The command is a copy of the one in the app. After you update TotalFetch, open the app once: it updates the command too.

Made in Europe