This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
XDA Developers on MSN
A new command-line version of the Microsoft Store lets you install and update apps with simple text
The Microsoft Command-Line Interface (or Microsoft Store CLI) ditches the familiar graphical user interface for simple text commands.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results