# Terminal option for GitBash ghosted in Windows 11 even when installed

**URL:** <https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112>\
**Category:** Archived Support\
**Created:** [March 26, 2024, 5:53pm UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112 "2024-03-26T17:53:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamilweb](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kamilweb](https://community.localwp.com/u/kamilweb)\
**Post date:** [March 26, 2024, 5:53pm UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/1 "2024-03-26T17:53:32Z")

</div>

### What issue or error are you experiencing?

## Hi, how I can change terminal from Command Prompt to Git Bash? I install it in D drive and I have Git Bash grayed.

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

 ![obraz](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/c/c/cc02acfb51ab55ad7683712805525e89db7ac368.png)

* * *

### System Details

- **Local Version:**  
Version 8.3.2+6660
- **Operating System (OS) and OS version:**  
Windows 11 Pro 23H2

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [March 27, 2024, 9:46am UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/3 "2024-03-27T09:46:02Z")

</div>

Thanks for your question, @kamilweb.

Local expects to find Git Bash in one of two default locations. You can find the locations Local looks for it in by:

1. Starting your site.
2. Clicking “open site shell”
3. Copying and pasting these two commands separately then pressing enter:

```auto
echo %ProgramW6432%\Git\git-bash.exe

```

```auto
echo %ProgramFiles%\Git\git-bash.exe

```

This will output two paths that can vary on each system, but on Windows 11 for me they look like this:

```auto
C:\Program Files\Git\git-bash.exe
C:\Program Files (x86)\Git\git-bash.exe

```

If you reinstall git-bash to one of those locations and restart Local, you should then be able to select Git Bash from the drop-down menu. Local doesn’t currently support installing git-bash in a custom location.

---

<div class="post-metadata">

**Author:** ![kamilweb](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kamilweb](https://community.localwp.com/u/kamilweb)\
**Post date:** [March 27, 2024, 5:07pm UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/4 "2024-03-27T17:07:54Z")

</div>

Thanks, that’s working! Can u add possibly to change terminal to Git when I install it everywhere I want?

Second issue - I can’t change browser to Mozilla Dev Edition.

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [March 28, 2024, 8:41am UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/5 "2024-03-28T08:41:10Z")

</div>

Thanks for letting us know that helped, @kamilweb!

We don’t have immediate plans to add custom git-bash install locations or Mozilla Dev Edition browser support, but thank you for voicing your desire for those features.

---

<div class="post-metadata">

**Author:** ![kamilweb](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kamilweb](https://community.localwp.com/u/kamilweb)\
**Post date:** [March 28, 2024, 1:54pm UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/6 "2024-03-28T13:54:36Z")

</div>

Hi,  
today I was next problem - local sites with pure WP loading about 2-4 seconds.

Xdebug:

```auto

Version 3.2.1
Support Xdebug on Patreon, GitHub, or as a business
Enabled Features
(through 'xdebug.mode' setting)
Feature	Enabled/Disabled	Docs
Development Helpers	✔ enabled	⊕
Coverage	✘ disabled	⊕
GC Stats	✘ disabled	⊕
Profiler	✘ disabled	⊕
Step Debugger	✔ enabled	⊕
Tracing	✘ disabled	⊕
Optional Features
Compressed File Support yes (gzip)
Clock Source GetSystemTimePreciseAsFileTime
'xdebug://gateway' pseudo-host support no
'xdebug://nameserver' pseudo-host support no
Systemd Private Temp Directory not enabled
Diagnostic Log
Message	Docs
⚠️ [Step Debug] Could not connect to client host discovered through HTTP headers, connecting to configured address/port: localhost:9003.	⊕
🛑 [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: ::1:9003 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9003 (fallback through xdebug.client_host/xdebug.client_port).	⊕
⚠️ [Step Debug] Could not connect to client host discovered through HTTP headers, connecting to configured address/port: localhost:9003.	⊕
🛑 [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: ::1:9003 (from HTTP_X_FORWARDED_FOR HTTP header), localhost:9003 (fallback through xdebug.client_host/xdebug.client_port).	⊕
Step Debugging	Docs
Debugger	Not Active	⊕
PHP
Build Configuration
Version (Run Time) 8.2.10
Version (Compile Time) 8.2.4
Debug Build no
Thread Safety disabled
Settings
Configuration File (php.ini) Path no value
Loaded Configuration File C:\Users\Kamil\AppData\Roaming\Local\run\jtiHM-y3j\conf\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
Directive	Local Value	Master Value	Docs
xdebug.cli_color	0	0	⊕
xdebug.client_discovery_header	HTTP_X_FORWARDED_FOR,REMOTE_ADDR	HTTP_X_FORWARDED_FOR,REMOTE_ADDR	⊕
xdebug.client_host	localhost	localhost	⊕
xdebug.client_port	9003	9003	⊕
xdebug.cloud_id	no value	no value	⊕
xdebug.collect_assignments	Off	Off	⊕
xdebug.collect_return	Off	Off	⊕
xdebug.connect_timeout_ms	200	200	⊕
xdebug.discover_client_host	On	On	⊕
xdebug.dump.COOKIE	no value	no value	⊕
xdebug.dump.ENV	no value	no value	⊕
xdebug.dump.FILES	no value	no value	⊕
xdebug.dump.GET	no value	no value	⊕
xdebug.dump.POST	no value	no value	⊕
xdebug.dump.REQUEST	no value	no value	⊕
xdebug.dump.SERVER	no value	no value	⊕
xdebug.dump.SESSION	no value	no value	⊕
xdebug.dump_globals	On	On	⊕
xdebug.dump_once	On	On	⊕
xdebug.dump_undefined	Off	Off	⊕
xdebug.file_link_format	no value	no value	⊕
xdebug.filename_format	no value	no value	⊕
xdebug.force_display_errors	Off	Off	⊕
xdebug.force_error_reporting	0	0	⊕
xdebug.gc_stats_output_name	gcstats.%p	gcstats.%p	⊕
xdebug.halt_level	0	0	⊕
xdebug.idekey	no value	no value	⊕
xdebug.log	no value	no value	⊕
xdebug.log_level	7	7	⊕
xdebug.max_nesting_level	256	256	⊕
xdebug.max_stack_frames	-1	-1	⊕
xdebug.mode	debug,develop	debug,develop	⊕
xdebug.output_dir	C:\Windows\Temp	C:\Windows\Temp	⊕
xdebug.profiler_append	Off	Off	⊕
xdebug.profiler_output_name	cachegrind.out.%p	cachegrind.out.%p	⊕
xdebug.scream	Off	Off	⊕
xdebug.show_error_trace	Off	Off	⊕
xdebug.show_exception_trace	Off	Off	⊕
xdebug.show_local_vars	Off	Off	⊕
xdebug.start_upon_error	default	default	⊕
xdebug.start_with_request	yes	yes	⊕
xdebug.trace_format	0	0	⊕
xdebug.trace_options	0	0	⊕
xdebug.trace_output_name	trace.%c	trace.%c	⊕
xdebug.trigger_value	no value	no value	⊕
xdebug.use_compression	1	1	⊕
xdebug.var_display_max_children	128	128	⊕
xdebug.var_display_max_data	512	512	⊕
xdebug.var_display_max_depth	3	3	⊕

```

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [March 28, 2024, 2:57pm UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/7 "2024-03-28T14:57:32Z")

</div>

3-4 seconds is slower than it should be.

If you enabled Xdebug but aren’t using it to debug PHP issues, you could disable it to improve performance (it can be slow on Windows).

It’s also worth reviewing the suggestions here (mentions Windows 10 but also applies to Windows 11):

> [@Optimizing Local "Lightning" performance on Windows 10](https://community.localwp.com/t/optimizing-local-lightning-performance-on-windows-10/18040):
>
> Hi there, while setting up Local “Lightning” on my Windows 10 machine I observed a very poor performance of local sites (TTFB around 30-50s). I have been using Local by Flywheel (3.3) on MacOS Catalina before - no issues there. Now I would like to share my insights with the community to (maybe) help others with this performance issue. PHP Config for custom environment (edited /conf/php/php.ini.hbs): added: [opcache] opcache.enable=1 opcache.enable\_cli=1 opcache.memory\_consumption=64 opcache…

It’s also important to enable Local to run unrestricted if you’re using security software.

If that doesn’t help, it would help us if you start a new topic rather than appending different issues here.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [March 30, 2024, 2:58am UTC](https://community.localwp.com/t/terminal-option-for-gitbash-ghosted-in-windows-11-even-when-installed/42112/8 "2024-03-30T02:58:15Z")

</div>

Closed on March 30, 2024, 2:58am UTC

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
