_partials/windows_terminal.md
:information_source: The following instructions depend on your version of Windows.
If you are running Windows 11, the Windows Terminal is already installed and you can proceed to the next section :point_down:
If you are running Windows 10, let's install Windows Terminal, a real modern terminal.
<details> <summary><strong>Windows 10</strong>: Install Windows Terminal</summary>StartMicrosoft StoreMicrosoft Store in the listWindows Terminal in the search barInstall:warning: DO NOT install Windows Terminal Preview, just Windows Terminal!
<details> <summary>Uninstall wrong version of Windows Terminal</summary>To uninstall a wrong version of Windows Terminal, you just have to go to the Installed Program List of Windows 10:
Windows + Rms-settings:appsfeaturesEnterFind the software to uninstall and click on the uninstall button.
</details>Once the installation is finished, the Install button becomes a Launch button: click on it.
Let's make Ubuntu the default terminal of your Windows Terminal application.
Press Ctrl + ,
It should open the terminal settings:
You may see an orange circle rather than a penguin as the logo for Ubuntu.
We have circled in red the part you need to add:
First, let's ask Ubuntu to start directly inside your Ubuntu Home Directory instead of the Windows one.
"commandline": "wsl.exe ~",
:warning: Do not forget the comma at the end of the line!
Then, let's disable warnings for copy-pasting commands between Windows and Ubuntu:
"warning.multiLinePaste": false,
:warning: Do not forget the comma at the end of the line!
You can save these changes by pressing Ctrl + S
:heavy_check_mark: Your Windows Terminal is now setup :+1:
This terminal has tabs: you can choose to open a new terminal tab by clicking on the + next to the current one.
From now on, every time we will refer to the terminal or the console it will be this one. DO NOT use any other terminal anymore.