Using a custom shell with Rider’s built-in terminal

In a previous post, we’ve seen that Rider comes with a built-in terminal. It lets us do things like running .NET Core commands (for example with Entity Framework core), running Git commands, etc. There’s one thing we did not cover yet: customizing the shell that is used by Rider!

While the default shell in Rider works nice, many developers prefer to use their favorite shell. For example Windows users may want to use PowerShell or Cmder instead of the default, macOS and Linux users may want to use zsh. Good news: from the settings under Tools | Terminal, we can customize which shell is used by Rider (along with some other options).
Configure which shell to use in Rider

In case you want to use an alternative shell, here are some example paths you can configure:

  • PowerShell: powershell
  • Cmder: "cmd" /k ""%CMDER_ROOT%\vendor\init.bat"" (note the CMDER_ROOT environment variable has to be set)
  • Cygwin: "C:\cygwin\bin\bash.exe" --login -i
  • Zsh: /bin/zsh
  • Bash: /bin/bash (or bash for Windows: bash.exe)

Have another shell configured? Let us know through the comments!

Here’s Cmder in action:
Cmder as the shell in Rider

Prefer zsh? No problem:
Using zsh as Rider shell

Rider’s built-in terminal provides full access to the underlying shell. This means we can run lots of tools, like Far Manager (for managing files and archives):
Runing Far Manager in Rider

Oh and always remember this productivity tip (check here if you need the executable):

Download Rider now and give it a try! We’d love to hear your feedback.

Comments below can no longer be edited.

7 Responses to Using a custom shell with Rider’s built-in terminal

  1. Avatar

    Damir says:

    December 15, 2017

    Thanks for a post!
    One question though. You described here how to run cmder with cmd shell. Is it possible to run cmder, but with PowerShell as a shell?

    • Avatar

      Maarten Balliauw says:

      December 15, 2017

      Should work of you set PoSh as the default in Cmder

  2. Avatar

    Kumar Gaurav says:

    June 19, 2018

    Could we also integrate fish shell?

    • Avatar

      Maarten Balliauw says:

      June 20, 2018

      I haven’t tried it myself, but setting the terminal command to fish will probably work.

  3. Avatar

    Jean Pasdeloup says:

    July 25, 2018

    Is it possible to have different shells according to projects?
    When I change the shell to a custom one for a project, all other projects get the same shell.

  4. Avatar

    Peter says:

    October 30, 2018

    Is there any way to get msys2 (im running fish on it) to work? i haven’t managed to get it to work!

Discover more