How to use CUDA in Kali Linux

Suppose you have purchased a good laptop with a powerful graphics card inbuilt and installed Kali linux physically to use its full potentials ( atleast no nagging external usb adapter 😉  ).  BUT how to install 3rd party nvidia drivers inside kali, to use all the cuda code of your GFX card???????? Well the long awaited step-by-step solution follows –