DEV Community

Nikolay Yanev
Nikolay Yanev

Posted on

How to use zsh in VS Code for Mac

Today I will show you how to use .zsh in VS Code terminal.

First of all, you need to install .zsh. Follow the instructions here:

GitHub logo ohmyzsh / ohmyzsh

🙃 A delightful community-driven (with 1800+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, docker, homebrew, node, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Oh My Zsh

Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.

Sounds boring. Let's try again.

Oh My Zsh will not make you a 10x developer...but you may feel like one.

Once installed, your terminal shell will become the talk of the town or your money back! With each keystroke in your command prompt, you'll take advantage of the hundreds of powerful plugins and beautiful themes. Strangers will come up to you in cafés and ask you, "that is amazing! are you some sort of genius?"

Finally, you'll begin to get the sort of attention that you have always felt you deserved. ...or maybe you'll use the time that you're saving to start flossing more often. 😬

To learn more, visit, follow @ohmyzsh on Twitter, and join us on Discord.

CI Follow @ohmyzsh Discord server Gitpod ready

Getting Started


  • A Unix-like operating system: macOS, Linux, BSD. On Windows: WSL2 is…

Then open the settings pane of VS Code and find this property: "". Tap on the edit button and set the value to "zsh"

Now you have zsh in your VS Code

Top comments (5)

marsavela profile image
Sergiu Marsavela

JFYI, VS Code detected automatically my ZSH. I guess it does if you install VS Code after you have ZSH enabled for your user? Idk

nyanev profile image
Nikolay Yanev

I've had installed ZSH before VS Code but it didn't work for some reason.

joehobot profile image
Joe Hobot

I know this is bit older comment, but yeah zsh came plugged into vsc when I installed it today.

Just need to figure out how to use something like

vsc or code openthisfile.yaml

rufreakde profile image

Seems like VS Code still uses the bash console for debugging. Since I installed zsh and only configured node and npm there I cant debug with the normal bash.

djheru profile image
Philip Damra

Thanks, I'd had ZSH working since it is the default on my system, but I just had an update and it stopped.