Files
shellscripts/nvtop_script.sh
Your Name b00f025742 update
2024-11-12 00:07:46 +08:00

16 lines
357 B
Bash

#!/bin/bash
# Update and install dependencies
# for debian sudo apt install nvtop
sudo apt update
sudo apt install cmake libncurses5-dev libncursesw5-dev git
# Clone NVTOP from GitHub
git clone https://ghproxy.dockless.eu.org/https://github.com/Syllo/nvtop.git
mkdir -p nvtop/build && cd nvtop/build
# Compile and install
cmake ..
make
sudo make install