How to change the default shell on macOs – Video
Tags: shell, bash, macbook, macos
Published: 2020-04-23 10:11:00

---
title: How to change the default shell on macOs – Video
published: true
date: 2020-04-23 11:12:31 UTC
tags: shell,bash,macbook,macOS
canonical_url: https://www.panayiotisgeorgiou.net/how-to-change-the-default-shell-on-macos-video/
---

Apple replaces bash with zsh as the default shell in macOS [Catalina](https://support.apple.com/en-us/HT208050). As a developer I use zsh daily but I have seen lot’s of developers that want to use the bash shell. The post will show How to change the default shell on macOs? I have included a video indicating couple of ways to do the change to bash profile.

#### Let’s get started ![😉](https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f609.png)

Firstly, I will show you How to change the default shell on macOs straight from the Terminal window. Then I will show another example how to change the shell from System Preferences.

### Terminal Example

Open Terminal (F4)

To change your default shell on macOS, simply run the following command  in the Terminal window`: `

```
chsh -s /bin/bash
```

After hitting enter it will ask your for password. Now close the existing Terminal window and re-open a new one. As you will notice the shell has changed ![🙃](https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f643.png)

Another useful command that you can write on Terminal is get a list of included shells you can select. You can do the following to check it out:

```
cat /etc/shells
```

### Change Shell from System Preferences

Press F4 and head to System Preferences

Then go to Users & Groups on your Mac.

Now, you have to click the icon that your account name is associated with.

Right click on you account icon and then got to **“Advanced Options.”**

![](https://www.panayiotisgeorgiou.net/wp-content/uploads/2020/04/advanced-options-1024x448.png)<figcaption><strong>Advanced Options</strong></figcaption>

From the new window go to **Login Shell** and from the dropdown select **“/bin/bash”**. Click ok to save the changes. Try opening a new Terminal window, it should be changed.

\*\* Make sure to click the lock icon and password so you will be able to perform the above actions.

Congrats you have done it ![💪](https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f4aa.png)

<iframe type="text/html" width="1200" height="675" src="https://www.youtube.com/embed/NbXW8b6wW_s?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" allowfullscreen="true" style="border:0;"></iframe>

[![](https://lh3.googleusercontent.com/aYbdIM1abwyVSUZLDKoE0CDZGRhlkpsaPOg9tNnBktUQYsXflwknnOn2Ge1Yr7rImGk=w300)](https://www.instagram.com/panayiotisgeorgiou)

[Follow me on Instagram](https://www.instagram.com/panayiotisgeorgiou)

**That’s it for now. **

If you liked this article, then please subscribe to my [YouTube Channel](https://www.youtube.com/c/PanayiotisGeorgiou?sub_confirmation=1) for video tutorials.

You can also find me on [Twitter](http://twitter.com/panay_georgiou) and [Facebook](https://www.facebook.com/panayiotisgeorgiou.net).

The post [How to change the default shell on macOs – Video](https://www.panayiotisgeorgiou.net/how-to-change-the-default-shell-on-macos-video/) appeared first on [Panayiotis Georgiou](https://www.panayiotisgeorgiou.net).