We set students up with the Learn IDE so that they can easily start learning how quickly.
Everything you see in the terminal you see in the Learn IDE is actually taking place on the Learn servers. We've already setup the servers to have all the tools you'll need to complete the labs you'll encounter in the curriculum. It might not seem like there are a lot of tools needed to start learning how to code, but there are an incredible numbers of packages to download and commands to run to get your computer setup in just to right state to start developing. It's not even possible on all computers!
We built the Learn IDE so that you could side-step all of the issues involved with setting up a local environment and get right to coding! When you're first learning to code, a lot of the time you spend is configuring your system for an effective development environment. Once you've got a little experience under your belt, you can try using a local dev environment.