![open in terminal open in terminal](https://www.howtogeek.com/thumbcache/2/200/7269645a14297f03d2a862dcbb152815/wp-content/uploads/2020/07/mac_terminal_hero_1.jpg)
Save the file by pressing Ctrl + S or selecting “ File → Save“. Don’t forget to replace “ ” with your actual Windows username.
#Open in terminal code
Here, copy and paste the below code in it. The above action will open the file in the default text editor. Next, right-click on the newly created file and select “ Edit“.Ĥ. This action converts the text file into the reg file.ģ. Now, right-click on the desktop and select “ New → Text Document” to create a new text file. If you are curious, we are adding this line because without it, when you open Windows Terminal from the right-click menu, it will open in your home directory rather than in the current directory.Ģ. In the JSON file, add the below line to your default profile. To do that, open Windows Terminal, click on the drop-down button on the title bar and select “ Settings“. First, we need to set the default directory in Windows Terminal. Add Open Windows Terminal Here Option to Right-click Menuġ.
![open in terminal open in terminal](https://miro.medium.com/max/1828/1*dXRoHuyhH-Kv-42iTSDA0w.png)
Without ado, follow the below steps to add an open Windows Terminal here option to the right-click context menu in Windows 10. Thankfully, you can add your own “Open Windows Terminal Here” option to the right-click menu in just a few steps. You are stuck with the old “Open PowerShell window here” option. Unfortunately, as of writing this, Windows Terminal has no such option. This eliminates the need to manually open the terminal and then navigate to that folder using multiple cd commands. When working with directories, it is very useful to open the terminal in that specific directory.