Command Prompt can be installed on Windows 10 by following these steps:
1. Click the Start button, then type "cmd" into the search box.
2. Right-click on the "Command Prompt" shortcut that appears and select "Run as Administrator."
3. Click the "Yes" button when prompted by the User Account Control dialog.
4. Type the following command and press Enter:
5. dism /online /enable-feature /featurename:Microsoft-Windows-Subsystem-for-Linux /all /norestart
6. Type the following command and press Enter:
7. dism /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
8. Close the Command Prompt window.
9. Download and install a Linux distribution from the Windows Store.