Last Updated on May 1, 2023 by mishou
You can run a Terminal in Google Colaboratory without Colab Pro. Just run a few codes:
# install colab-xterm
!pip install colab-xterm
# load extensions
%colab-xterm extension
# open the terminal
%xterm

You can learn more in the tutorial liked below:
Run a Full TTY Terminal in Google Colab (without Colab Pro)