#gofetch
gofetch is an alternative neofetch, screenfetch, and pfetch CLI tool that retrieves the current operative system information.
Before getting started is important that your current terminal supports UTF-8, otherwise, the gopher of the gofetch tool will not be encoded causing some inconsistencies.
To have gofetch in your machine follow the next steps:
- Clone the project under the
$GOPATH.
$ git clone https://github.com/orlandorode97/gofetch.git- The project contains a Makefile with built-in commands to create the binary for your current os and architecture.
- Type the command to build the project.
build
- Example
$ make build --> Building gofetch binary for linux:amd64 --> gofetch for linux:amd64 built at /usr/home/orlandoromo/go/src/gofetch
- The previous command generates the binary
gofetchat the root of the project. Copy it to the folder under/usr/local/bineither onlinuxormac:
$ sudo cp gofetch /usr/local/binFor Windows users it generates the binary gofetch.exe at the root of the project. Make a binary folder to place it with make C:\bin, move gofetch.exe to the created folder move gofetch.exe C:\bin., add it to PATH with setx PATH "C:\bin\;%PATH%" and restart your terminal.
- Go for it (animation created with vsh):
Contributions are very welcome