This simple getting started article shows how to use LTspice for the simulation of a Switching Mode Power Supply (SMPS):
After installing run LTspice
To start a new project, select New Schematic and enable the grid
On the top toolbar we can find the buttons to place all devices
Select Component