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

![](https://1148938711-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKjsRBIKLQhzDC7WBQY%2F-MLCB04E6tBvmq2-N-KY%2F-MLCC8NuNsSIikQlgmuE%2Fcompiler-configuration.png?alt=media\&token=7d9470a9-197c-40a6-9168-e8d8f3c82b40)

![Compile using goal](https://1148938711-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKjsRBIKLQhzDC7WBQY%2F-MLCB04E6tBvmq2-N-KY%2F-MLCCDkslGzPYMmCE2_-%2Fgoal-compile.png?alt=media\&token=c61e6e8d-1425-4a65-94be-fc13aa470cef)

![Compile using Purestake node](https://1148938711-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKjsRBIKLQhzDC7WBQY%2F-MLCB04E6tBvmq2-N-KY%2F-MLCCHtFEb3sbeui1e0x%2Fremotenode-compile.png?alt=media\&token=41006800-16de-4c2a-9eea-81d78a245d82)

2\.  To compile, right click > Compile TEAL

![](https://1148938711-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKjsRBIKLQhzDC7WBQY%2F-MLCB04E6tBvmq2-N-KY%2F-MLCCatWDy196wMulo93%2Fcompile.png?alt=media\&token=7c0946b3-0f2d-490e-b560-eb8b60dd90cb)

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

![](https://1148938711-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKjsRBIKLQhzDC7WBQY%2F-MLCB04E6tBvmq2-N-KY%2F-MLCClgMPcsK1rxcpN5J%2Falternate-compiler-settings.png?alt=media\&token=9880a754-5649-4382-8aab-bea65fe25d9e)

### Video - How to compile a TEAL program

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