If you have NVIDIA Optimus laptops and want to use your NVIDIA card instead of Intel card, Using Bumblebee can help you to switch GPU between Intell and NVIDIA. This bash script installs Bumblebee automatically.
Install dependencies
su
sudo apt -y install git || apt -y install make
exit
Clone the project
git clone https://github.com/ahmetcancicek/debian-bumblebee-install
Go to the project directory
cd debian-bumblebee-install
Run
sudo make run