Skip to content

Commit 66fb4c9

Browse files
authored
Document package requirements in AGENTS.md (#2944)
Add package requirements for Coursier, sbt, and scalafmt.
1 parent 967a270 commit 66fb4c9

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,33 @@ Follow `CONTRIBUTING.md`. If this file conflicts with `CONTRIBUTING.md`, follow
2727
- Wire protocol changes must consider rolling upgrade compatibility.
2828
- Dependency changes must verify Apache-compatible licenses.
2929

30+
## Package Requirements
31+
32+
### Coursier
33+
34+
Install Coursier (`cs` command).
35+
36+
On x86-64 (aka AMD64)
37+
```
38+
curl -fL "https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz" | gzip -d > cs
39+
```
40+
On ARM64
41+
```
42+
curl -fL "https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz" | gzip -d > cs
43+
```
44+
45+
### sbt
46+
47+
```
48+
cs setup
49+
```
50+
51+
### scalafmt
52+
53+
```
54+
cs install scalafmt
55+
```
56+
3057
## Formatting Rules
3158

3259
- Prefer native scalafmt for changed Scala and SBT files when it is available.

0 commit comments

Comments
 (0)