0
0

More than 1 year has passed since last update.

【備忘録】GitCliのgh browseが使えない

Last updated at Posted at 2023-07-29

参考

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

症状

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

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

解決方法

# パッケージリポジトリを追加
sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
# WindowsとLinuxの統合がスムーズになる機能を持つパッケージをパッケージリポジトリからインストール
sudo apt install wslu
0
0
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
0
0