Hi @Zenโ
the web terminal is basically used for shell commands only and specific to driver node only.
You can install the scala on top of the driver node from web terminal with below command and use it:
% sudo apt install scala
Please let me know if this helps.
Regards,
Darshan