Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the windows terminal settings location?

I edited the settings file and there must have been a typo and now the app crashes on startup.

Online the documentation says the settings lives in $env:LocalAppData\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

I can't figure out what that path means since it doesn't exist on the computer.

like image 640
1mike12 Avatar asked Jul 26 '20 14:07

1mike12


3 Answers

If you open the terminal settings, it will open a text editor with the settings.json file. If your default editor is VS Code it will show you the path below the tabs on the top of the screen.

Settings menu in Windows Terminal

I'm unsure what other editors show you the path, but if it is crucial you can change your default text editor to Code.

like image 33
Daniel Avatar answered Sep 30 '22 12:09

Daniel


I re-installed the app to fix the problem then made sure to see what the actual path is.

It's located in : C:\Users\{USERNAME}\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState

like image 150
1mike12 Avatar answered Sep 30 '22 14:09

1mike12


In the current version (1.7.1033.0), the application can open the JSON settings file for you via a button. Open the Settings tab, and the bottom left corner will have a button named "Open JSON file". Clicking that button will open a prompt asking with what application to open the file. That text editor can then tell you where the file is located.

Screenshot

like image 34
SebastianC Avatar answered Sep 30 '22 14:09

SebastianC