0
0

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 3 years have passed since last update.

IntteliJベースのIDEのターミナルをGit BashやPowerShellに変更する方法

Last updated at Posted at 2021-01-25

この記事のターゲット

  • Windows
  • IntteliJ ベースIDE
    • IntelliJ IDEA, PyCharm, WebStorm, PHPStorm, CLion, RubyMine, Rider, GoLand etc...

やり方

[メニューバー] → [File] → [Settings] → [Tools] → [Terminal] → [Shell path]

image.png
ここを変更すると起動するターミナルを変更することができます。

Shell pathの変更

変更したいターミナルに合わせて、以下の通り変更してください。
なお、パスは環境によって異なることがあります。
普通にコマンドでの指定でも問題なく動作します。

コマンドプロンプト

C:\Windows\System32\cmd.exe
cmd

GitBash

C:\\Program Files\\Git\\bin\\bash.exe

PowerShell

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powershell

Motivation

私は普段 Mac、Windows、Ubuntu を気分で使い分けて開発しています。
中でもMacとUbuntuが多いので、 UNIX コマンドに慣れ親しんでいます。
Windows で IntteliJ の Terminal を起動したら、コマンドプロンプトが立ち上がってクソほど腹が立ったので "Terminal" で起動するターミナルを変更しました。

Future

  • WSLを起動できるようにしたい
0
0
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?