Skip to content
TrySitePrice

FreeBSD: Install zsh Shell

Best/Tutorial

To install the Z shell (zsh) on a FreeBSD system, you can use the following steps:

  1. Open a terminal window.
  2. Update the package index:

    sudo pkg update

  3. Install the zsh package:

    sudo pkg install zsh

  4. Once the installation is complete, you can start a zsh shell by running the following command:

    zsh

  5. To make zsh the default shell for your user account, you can use the chsh command:

    chsh -s $(which zsh)

rnThis will set your default shell to zsh and you will be using zsh as your shell the next time you log in.