diff --git a/README.md b/README.md index 778f7a9..c8ddb60 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,32 @@ $ ./injectived.sh Voila! You have now successfully setup a full node on the Injective Chain. +### Install for MacOS +Note: for any mention of ZSH, replace it with Bash if applicable. for example, `~/.bashrc` + +1. Build from source + ```bash + git clone https://github.com/OpenDeFiFoundation/injective-core.git + cd injective-core + make install + ``` + +2. Update `.zshrc` - Add these lines to your `~/.zshrc` file: + ```bash + export GOPATH=$HOME/go + export PATH=$PATH:$(go env GOPATH)/bin + ``` + +3. Refresh your `~/.zshrc` file + ```bash + source ~/.zshrc + ``` + +4. Test to make sure its working + ```bash + injectived version + ``` + ## Generating the module specification docs ```bash $ cd docs && yarn && yarn run serve