> For the complete documentation index, see [llms.txt](https://algodea-docs.bloxbean.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://algodea-docs.bloxbean.com/compile-teal-program.md).

# Compile TEAL Program

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.*

1. 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.

![](/files/-MLCC8NuNsSIikQlgmuE)

![Compile using goal](/files/-MLCCDkslGzPYMmCE2_-)

![Compile using Purestake node](/files/-MLCCHtFEb3sbeui1e0x)

2\.  To compile, right click > Compile TEAL

![](/files/-MLCCatWDy196wMulo93)

3\. Alternatively, you can also configure compiler setting in the **"AlgorandExplorer"** toolwindow tab.

![](/files/-MLCClgMPcsK1rxcpN5J)

### Video - How to compile a TEAL program

{% embed url="<https://youtu.be/EEL0Xair7_g>" %}
