LoginSignup
5
1

Windows11 + WSL2 + ghコマンドでexec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH エラーが出る時

Posted at

症状

Windows11 + WSL2 (Ubuntus 22.04)でgh browseを実行しようとしたときに、以下のエラーがでてブラウザが起動しない

exec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH

スペック

  • Ubuntu 22.04
  • Windows11
  • Github CLI v2.29.0

解決方法

sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
sudo apt install wslu

参照

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1