Skip to content

SETUP

Tooling

Make sure you have a recent Go version installed (>= v1.23).

1. Installing loom

Loom works like any other Go module. It can be installed with go get in any project:

go get github.com/loom-go/loom

2. Installing a renderer

When setting up a new loom app, you must choose a renderer. This is where you decide which plateform your loom app will run on.

[*] LOOM-TERM -> | For building Terminal UIs.
[*] LOOM-WEB -> | For building Web SPAs.

How to intall each:

go get github.com/loom-go/term
LOOM-TERM uses CGO. Make sure you have a C compiler installed like GCC on Linux/Darwin, or MinGW on Windows.
go get github.com/loom-go/web

Keep reading -> CORE CONCEPTS to understand more about loom and how it works.