Colab only offers a terminal in their paid Pro version. This article suggests an alternative terminal that's embedded in the notebook. In short, the following lines start one.
!pip install colab-xterm
%reload_ext colabxterm
%xterm
The first line installs the package, the second loads the extension which adds the %xterm magic command to the kernel, and the last starts the terminal. In general, it probably makes sense to execute the first two lines together to install requirements and the last where necessary to start a terminal.
Colab only offers a terminal in their paid Pro version. This article suggests an alternative terminal that's embedded in the notebook. In short, the following lines start one.
The first line installs the package, the second loads the extension which adds the
%xtermmagic command to the kernel, and the last starts the terminal. In general, it probably makes sense to execute the first two lines together to install requirements and the last where necessary to start a terminal.