A TEAL program can be compiled using goal command line tool or an Algorand node.
TEAL compilation using a Local SDK ("goal" command line tool) is currently supported on MacOS and Linux. For Windows, you can use a running Algorand Node for compilation.
Configure compiler. Right click on the project / editor > Algorand > Configuration
You can configure a Local SDK (goal) or an Algorand node for the compilation. To do so, go to the configuration settings UI and update compiler setting.
2. To compile, right click > Compile TEAL
3. Alternatively, you can also configure compiler setting in the "AlgorandExplorer" toolwindow tab.