In this tutorial we are downloading VS Professional 2019, you may change as per your requirements.
Now lets first open command prompt by typing cmd on run box and move to download folder where you have download the web installer file. Then follow the commands below.
Now download web installer file for Visual Studio 2019 from the official site link
Complete guide is available at https://www.vetechno.in/2021/02/download-and-install-visual-studio-2019-offline-from-command-line.html