WSL: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== TODO ==
== .wslconfig ==
 
* [https://learn.microsoft.com/en-us/windows/wsl/wsl-config#main-wsl-settings Main WSL settings]
 
== Tips ==
 
* Don't use host mode for docker container.
 
== Setup development environment for WSL ==


<quickmmd name="wsl-todo">
<quickmmd name="wsl-todo">
Line 15: Line 23:
</quickmmd>
</quickmmd>


== git ==
== GitHub Auth in WSL ==


<syntaxhighligh lang="bash">
<syntaxhighlight lang="bash">
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
sudo snap install gh --classic
</syntaxhighligh>
gh auth login
</syntaxhighlight>

Latest revision as of 02:18, 20 October 2026

.wslconfig

Tips

  • Don't use host mode for docker container.

Setup development environment for WSL

GitHub Auth in WSL

sudo snap install gh --classic
gh auth login