To restart your terminal follow these two steps Close your terminal by clicking on the x sign, in the terminal’s tab Open a new temrinal by clicking on the + button that appeared