Skip to content

Commit

Permalink
Merge pull request #125 from squirrd/new_install_example
Browse files Browse the repository at this point in the history
Fix Issue:#123 Improve install doc for Linux and OS X
  • Loading branch information
gmeghnag authored Nov 28, 2023
2 parents fc4fda9 + 941c6e5 commit ae63285
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@
---
## Installation

### Download the latest binary
### Linux / OS X
```
OS=Linux # or Darwin
curl -sL https://github.com/gmeghnag/omc/releases/latest/download/omc_${OS}_x86_64.tar.gz| tar xzf - omc
chmod +x ./omc
# cd to a directory that is in your $PATH
curl -sL https://github.com/gmeghnag/omc/releases/latest/download/omc_$(uname -o)_$(uname -m).tar.gz | tar xzf - omc && chmod +x ./omc
omc -h
```
**Note:** OS X may block the downloaded omc binary until it is approved via `System Settings` -> `Privacy & Security`.

### Other Operating systems
1. View the available downloads from the latest releases page
1. Chose and download the Asset that best suits your operating system
1. Un zip/tar the binary and move it to a directory location that is in your executable path.

### Build from source
```
Expand Down

0 comments on commit ae63285

Please sign in to comment.