Rev 3 9/21/17 39AA: Develop and Test applicationsIn this section, you will learn how to develop applications in the Legato development environment, install them ontoyour mangOH Red, and test that they run.Legato provides two interfaces for developing applications:• CLI—Command Line Interpreter in a terminal window.• Developer Studio—A GUI (Graphical User Interface) development environment.This section describes development using CLI.A.1 Develop using the CLI—Command Line InterpreterA.1.1 Configure the Dev Machine’s Terminal Windows forDevelopmentTo use the CLI in a terminal window to compile and build applications, you must configure the window to work withLegato tools.Each time you open a new terminal window, do the following:1. Configure the window:$ cfglegatoNote: You will be updating application source code in this section. Use whichever editor you prefer—these instructions do not refer to a specific editor.Note: This tutorial touches on the basics of using the Legato development environment. After completingthe examples in this chapter, see http://legato.io/legato-docs/latest/mangOH_developers.html for detailedreferences, forums, etc.Note: If you installed Legato to a subdirectory of your home directory using a different name than’legato’, replace "~/legato" with "~/" in the commands in this section.Note: If you did not set up the cfglegato command in Step 3 on page 22 of Build and Install LegatoPlatform and mangOH Red Platform on Target, do it now.Power is OFFIgnore these toolchain warnings.