Hi,
The script on Github is maintained. For instance, I just pushed fixes a few days ago.
So running the following in colab should be enough:
!wget https://github.com/Gibbons-Lab/isb_course_2021/raw/main/setup_qiime2
%run setup_qiime2
I do think it is a good idea to port it to its own repository to make it easier to use and more maintainable.
This should work in general with the exception of plugins in the Python interface (things like from qiime2.plugins import feature_table
won't work since the notebook runs Python 3.7). Plugins will work in the command line interface though.