Skip to content

Commit 58b2800

Browse files
Merge pull request #420 from agdphd/depot-proto
Add configuration for the Proto toolchain manager.
2 parents 2008f95 + 7957814 commit 58b2800

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ curl -L https://depot.dev/install-cli.sh | sh
6262
curl -L https://depot.dev/install-cli.sh | sh -s 2.17.0
6363
```
6464

65+
To install with the [Proto](https://moonrepo.dev/docs/proto) toolchain manager, run:
66+
67+
```sh
68+
proto plugin add depot "https://raw.githubusercontent.com/depot/cli/refs/heads/main/proto.yaml
69+
proto install depot
70+
```
71+
6572
For all other platforms, you can download the binary directly from [the latest release](https://github.com/depot/cli/releases).
6673
6774
## Quick Start

proto.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Proto plugin for the Depot CLI
2+
# https://depot.dev/docs/cli/reference
3+
4+
name: Depot
5+
type: cli
6+
7+
platform:
8+
macos:
9+
downloadFile: 'depot_{version}_darwin_{arch}.tar.gz'
10+
windows:
11+
downloadFile: 'depot_{version}_windows_{arch}.zip'
12+
linux:
13+
downloadFile: 'depot_{version}_linux_{arch}.tar.gz'
14+
15+
install:
16+
downloadUrl: 'https://github.com/depot/cli/releases/download/v{version}/{download_file}'
17+
unpack: true
18+
arch:
19+
aarch64: arm64
20+
x86_64: amd64
21+
exes:
22+
depot:
23+
exePath: 'bin/depot'
24+
primary: true
25+
26+
resolve:
27+
gitUrl: 'https://github.com/depot/cli'

0 commit comments

Comments
 (0)