Many CS classes are teaching using the Python programming language. Python is well equipped for the command line environment. Check which Python components are already on the system.
$ whereis python
It's quite likely that there are two versions of python installed on a system: version 2.7 and version 3. Sometimes the python command is an alias to one of the specific python executables. Python has it's own package manager called pip. You can install pip using the system package manager.
$ sudo apt install python-pip python3-pip
$ pip3 install moviepy