Use root in command line only

ROOT User’s Guide → The C++ Interpreter Cling → Feeding Sources Files To ROOT: C++ Scripts