Fahad Md Kamal
Jan 13, 2022

Setup IPython shell to zsh Mac Terminal

Install IPython into the system first by typing:

python3 -m pip install IPython

Now open zsh config file with the command:

python3 -m pip install IPython
Installing IPython throughout the entire system

Now configure .zshrc file to start ipython shell with shortcut key e.g: ipy

step-1: open .zshrc config file with command

nano ~/.zshrc

Add line in the end of the file as:

alias ipy="python3 -m IPython"
Adding the alias line to the .zshrc config file.

Here “ipy” is set to the command shortcut and save the file by pressing control+x and pressing y for yes and hit enter button.

Now source the .zshrc file with the command:

source ~/.zshrc

Now type ipy and it will start the IPython shell.

That’s it.

IPython Shell
Fahad Md Kamal

Software Engineer with focus to be Solution Architect & Solution Enthusiast