Skip to content

Commit 53cccb7

Browse files
committed
install instructions
1 parent 67a938f commit 53cccb7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ To install the CLI, use [cargo](https://doc.rust-lang.org/cargo/getting-started/
1010
cargo install ore-cli
1111
```
1212

13+
14+
#### Dependencies
15+
If you run into installation issues, please install the dependencies listed below for your operating system and try again:
16+
17+
Linux
18+
```
19+
sudo apt-get install openssl pkg-config libssl-dev
20+
```
21+
22+
MacOS (using [Homebrew](https://brew.sh/))
23+
```
24+
brew install openssl pkg-config
25+
26+
# If you encounter issues with OpenSSL, you might need to set the following environment variables:
27+
export PATH="/usr/local/opt/openssl/bin:$PATH"
28+
export LDFLAGS="-L/usr/local/opt/openssl/lib"
29+
export CPPFLAGS="-I/usr/local/opt/openssl/include"
30+
```
31+
32+
Windows (using [Chocolatey](https://chocolatey.org/))
33+
```
34+
choco install pkgconfiglite
35+
```
36+
1337
## Build
1438

1539
To build the codebase from scratch, checkout the repo and use cargo to build:

0 commit comments

Comments
 (0)