Skip to content

Commit 6eac890

Browse files
authored
chore(docs): add installation instructions (#91)
2 parents 79aee68 + 4ec8182 commit 6eac890

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

README.md

+39-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,45 @@ OpenFGA is designed to make it easy for application builders to model their perm
5757
- [Google's Zanzibar Paper (2019)](https://research.google/pubs/pub48190/)
5858

5959
## Installation
60-
:TODO:
60+
61+
### Brew
62+
```shell
63+
brew install openfga/tap/fga
64+
```
65+
66+
### Linux (deb, rpm and apk) packages
67+
Download the .deb, .rpm or .apk packages from the [releases page](https://github.com/openfga/cli/releases).
68+
69+
Debian:
70+
```shell
71+
sudo apt install ./fga_<version>_linux_<arch>.deb
72+
```
73+
74+
Fedora:
75+
```shell
76+
sudo dnf install ./fga_<version>_linux_<arch>.rpm
77+
```
78+
79+
Alpine Linux:
80+
```shell
81+
sudo apk add --allow-untrusted ./fga_<version>_linux_<arch>.apk
82+
```
83+
84+
### Docker
85+
```shell
86+
docker pull openfga/cli; docker run -it openfga/cli
87+
```
88+
89+
### Go
90+
91+
> note that the command will be named `cli`
92+
93+
```shell
94+
go install github.com/openfga/cli@latest
95+
```
96+
97+
### Manually
98+
Download the pre-compiled binaries from the [releases page](https://github.com/openfga/cli/releases).
6199

62100
## Building from Source
63101

0 commit comments

Comments
 (0)