Windows Terminal is a new, modern, feature-rich, productive terminal application for command-line users. It includes many of the features most frequently requested by the Windows command-line community including support for tabs, rich text, globalization, configurability, theming & styling, and more.
- Windows build 1903
- Visual Studio 2017
- Ubuntu Terminal
Installing Windows Build 1903
At first you would have to register to the windows insider program
- Go to settings.
- Click Update and Security .
- Click Windows Insider Program.
4. Register for the program.
5. Update your windows.
If You Get errors while updating windows
You might encounter errors like windows cannot be updated because your device or service is not updated.
To fix this error you can download the windows 1903 ISO.
1.Download the ISO from https://drive.google.com/open?id=1M0NeGLfFrrE1Fo3dYVStIu6czzGdPoeT
2. Turn off the internet.
3. Click the ISO file.
4. Open Setup File.
5. Follow the steps and update windows.
Visual Studio 2017
All might ask this question,
Why Visual Studio 2017 when there is Visual Studio 2019??
The answer is simple because no one love errors.
If you try to build Windows Terminal using Visual Studio 2019 you would probably find 12 errors.
Instead without wasting further time go download Visual Studio 2017 from https://developerinsider.co/download-visual-studio-2017-web-installer-iso-community-professional-enterprise/
- After Installing open the setup.
- Then you would have to tick the check boxes,
1.Desktop development with c++
2. Universal Windows Platform Development
3. Windows 10 SDK (10.0.17134.0) or the latest one.
3. Install Visual Studio 2017
You would require git commands in cmd to build the windows terminal.
For that you would have to first download git from https://git-scm.com/
Building Windows Terminal
- Open Command Prompt.
- Now follow the commands one by one
git clone https://github.com/microsoft/terminal mywindowsterminalcd mywindowsterminalgit submodule update --init --recursivedep\nuget\nuget.exe restore OpenConsole.sln
If you have both Visual Studio 2019 as well as Visual Studio 2017 you might have to use the command
dep\nuget\nuget.exe restore OpenConsole.sln --MSBuildVersion 15.9
3. Now Enter start .
4. This will open the File Explorer and Open OpenConsole.sln
5. After the Visual Studio is opened you would have to just change the Processor x64 or x86 and change Debug to release.
To Know the type of processor
- Go to This PC.
2. Right click select Properties
3. Now go to Settings
4. Select Update & Security
5. Select For Developers
6. Select Developer mode.
7. Now Go back to Visual Studio and From Build Tab Select Deploy Solution.
8. Windows Terminal would be successfully Deployed.
Adding Extra terminals in Windows Terminal
When the windows terminal is deployed you would get something like this..
Here I have Ubuntu and the new Power-Shell but you would actually see only old Power-Shell and CMD.
For getting Ubuntu follow the steps,
- Go to search and search run
- Go to %localappdata%\Packages
3. Then go to WindowsTerminalDev_8wekyb3d8bbwe.(folder name might be different but WindowsTerminalDev would be there)
4. Open folder RoamingState.
5. Replace the files in the folder with the files from https://github.com/Pai026/windows
6. Just Select Clone or Download in GitHub and download the zip file extract and paste in RoamingState Folder.
- Now go to Microsoft Store and install Ubuntu.
2. After installation go to control panel.
3. Select Programs And Features.
4. Select Turn Windows Features on or off
5. Tick Windows Subsytem for Linux.
6. Then Open Ubuntu from Start which would Successfully install Ubuntu terminal.
You can add any number of terminals to the Windows Terminal by just adding the corresponding terminal to profile.json code.
For example in my Windows Terminal I have the new one and also old version of Power-Shell. I just installed the Newest version of Power-Shell (PowerShell 6) and just cloned the same PowerShell code and changed
“commandline”: “powershell.exe” to
Which is the executable file of PowerShell 6.
I failed 5 times to successfully build this Windows Terminal and I hope this blog would help everyone reduce that number to 0.
If you encounter any errors feel free to mail me at, email@example.com