DEV Community

herrwinfried
herrwinfried

Posted on

1

WSL2 windows path devre dışı bırakma

Bu işlemi yaparken WSL dağıtımınızdan yapmalısınız. Genel WSL konfigürasyon ayarlarında çalışmamaktadır.

Bu rehberde nano editorü üzerinden anlatılmaktadır isterseniz gedit vb. editorler kullanabilirsiniz.


WSL dağıtımımızı açtıktan sonra terminale aşağıdaki komutu yazıyoruz.
sudo nano /etc/wsl.conf
ardından parolamızı girip enter basıyoruz daha sonra aşağıdaki gibi yazıyoruz.

[interop]
appendWindowsPath=false
Enter fullscreen mode Exit fullscreen mode

ardından CTRL+X basıp y yazıyoruz ve enter basıyoruz daha sonra windows powershell dönüp

wsl --shutdown
Enter fullscreen mode Exit fullscreen mode

yazıyoruz ve tekrar açtığımızda artık Windows PATHleri yok.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Retry later