This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
The Microsoft Command-Line Interface (or Microsoft Store CLI) ditches the familiar graphical user interface for simple text commands.