How to get started with CUDA (without Visual Studio) or compile .cu files with nvcc and gcc

if there is no way to get started with CUDA without Visual Studio and no way to compile .cu files with nvcc and gcc or MinGW, then tell me how to get started with CUDA and Visual Studio (latest version supported) with or without Nsight.