You are not logged in.
nvidia-arch-setup is a small CLI tool that automates the NVIDIA driver setup described in the Arch Wiki. It detects your GPU, kernel, and bootloader, then runs all the necessary configuration steps with a single command.
Features
Detects GPU architecture (Blackwell → Tesla) and selects the correct driver package
Picks pre-built vs DKMS variant based on your kernel (linux / linux-lts / zen / hardened / custom)
Edits mkinitcpio.conf (adds nvidia modules, removes kms hook)
Writes kernel parameters to GRUB or systemd-boot
Installs a pacman hook to auto-rebuild initramfs on driver updates
Configures Optimus / PRIME render offload (Intel+NVIDIA, AMD+NVIDIA)
Enables nvidia-suspend/resume/hibernate services
AUR legacy drivers (Pascal and older) installed via paru/yay automatically
Interactive, fully automatic (--default), or dry-run (--dry-run) modes
Supported drivers
Turing+ (RTX 20xx/30xx/40xx/50xx): [tt]nvidia-open[/tt] / [tt]nvidia-open-lts[/tt] / [tt]nvidia-open-dkms[/tt] (official repos)
Pascal / Maxwell / Volta (GTX 10xx/9xx, Titan V): [tt]nvidia-580xx-dkms[/tt] (AUR)
Kepler (GTX 7xx/6xx): [tt]nvidia-470xx-dkms[/tt] (AUR)
Fermi (GTX 5xx/4xx): [tt]nvidia-390xx-dkms[/tt] (AUR)
Installation
git clone https://github.com/Nanmonk/nvidia-arch-setup.git
cd nvidia-arch-setup
sudo pacman -S cmake base-devel pciutils
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
sudo ./build/nvidia-arch-setup
Or install system-wide via the included PKGBUILD:
makepkg -si
sudo nvidia-arch-setup
Source
https://github.com/Nanmonk/nvidia-arch-setup
License: MIT | Written in C++17 | Requires root
Feedback and bug reports are welcome.
Offline
I up load to https://aur.archlinux.org/packages/nvidia-arch-setup
Offline