Skip to content

Commit d7ab23f

Browse files
gregwinnclaude
andcommitted
Add curl install method to getting-started, bump version to 0.8.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fa4ee78 commit d7ab23f

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

docs/getting-started.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ This guide walks you through installing Winn, creating your first project, and b
66

77
## 1. Install
88

9+
### curl (Linux & macOS)
10+
11+
```sh
12+
curl -fsSL https://winn.ws/install.sh | bash
13+
```
14+
15+
Requires Erlang/OTP 25+. The script detects your version, downloads the pre-built binary, installs to `~/.local/bin`, and verifies the install.
16+
17+
If you don't have Erlang installed:
18+
19+
```sh
20+
# macOS
21+
brew install erlang
22+
23+
# Ubuntu / Debian
24+
sudo apt install erlang
25+
26+
# Fedora
27+
sudo dnf install erlang
28+
```
29+
930
### macOS (Homebrew)
1031

1132
```sh
@@ -22,21 +43,21 @@ rebar3 escriptize
2243
cp _build/default/bin/winn /usr/local/bin/
2344
```
2445

25-
Requires Erlang/OTP 28+ and rebar3.
46+
Requires Erlang/OTP 25+ and rebar3.
2647

2748
### Verify
2849

2950
```sh
3051
winn version
31-
# => winn 0.7.0
52+
# => winn 0.8.1
3253

3354
winn help
3455
```
3556

3657
You should see:
3758

3859
```
39-
Winn 0.7.0 - a compiled language on the BEAM
60+
Winn 0.8.1 - a compiled language on the BEAM
4061
4162
Usage:
4263
winn new <name> Create a new Winn project

0 commit comments

Comments
 (0)