# Build from source


You need Git and Go 1.27.4. macOS also needs the Xcode Command Line Tools and
CGO for Keychain support.

On macOS or Linux:

```sh
git clone https://github.com/kongesque/line-cli.git
cd line-cli
./install.sh
```

On Windows, in PowerShell:

```powershell
git clone https://github.com/kongesque/line-cli.git
Set-Location line-cli
$env:CGO_ENABLED = "0"
go build -trimpath -o .\bin\line.exe ./cmd/line
.\bin\line.exe help
```

For contributor checks, test fixtures, platform integration, and release steps,
see the [development guide](https://github.com/kongesque/line-cli/blob/main/docs/DEVELOPMENT.md). Ordinary tests use synthetic data
and fake APIs; live LINE tests need explicit authorization.


---
Source: https://kongesque.github.io/line-cli/reference/build/
