Baba Tech Blog

TR EN

Using Cmder in PHPStorm

This article is older than 2 years. Some information might be outdated.

Using Cmder in PHPStorm 🚀#

To use the terminal in PHPStorm, we need to specify the path in environment variables. You can follow these steps to add environment variables in Windows environment:

Setting Environment Variables ⚙️#

  1. Right-click on My Computer and go to Properties.
  2. Click on Advanced System Settings.
  3. Just below the Startup and Recovery section, you will see Environment Variables.
  4. Click on Environment Variables and press the New button.

📌 Variable Name: CMDER_ROOT
📌 Path: C:\cmder

Environment Variables

I had downloaded the full version of Cmder and extracted it to the C: directory. Show the directory where you installed it.

Environment Variable Setting

Terminal Setting for PHPStorm 🛠️#

  1. Enter the Settings tab in PHPStorm.
  2. Click on the Terminal tab under the Tools menu.
  3. Write the following command in the Shell Path section:
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""

PHPStorm Cmder Setting

Restarting PHPStorm 🔄#

After applying the settings, restart PHPStorm. When it opens again, you can see that Cmder is working by clicking on the Terminal tab. 🎉

PHPStorm Cmder Terminal

Cmder terminal is a very practical tool for Windows users. You can download the full version from here and extract it to any directory you want. 😊

See you in the next guide! 🚀

Webmentions

Likes

  • Loading likes...

Comments & Replies

  • Loading comments...

Comments
Reply via Bluesky

With an account on the Fediverse or Mastodon, you can respond to this post.

Copy and paste this URL into the search field of your favourite Fediverse app or the web interface of your Mastodon server.

Loading comments...