How do I switch to JS mode in mysql-shell when \js is an unknown command?

Viewed 497

I installed mysql shell on my Ubuntu VM.

As per all internet sources, when I input

mysqlsh

The default mode should be JS mode. However, my default mode somehow is python, and if I switch it to javascript mode by using

/js

It doesn't even recognize that command. Mysql mode works fine though. I've tried installing and reinstalling a couple of times to no avail.

What am I missing?

Here's what popped up when i switch to js mode

1 Answers
Related