10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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

参照

10
2
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
10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?