Installing from Source

Follow these steps to install the Provide CLI from source.

In a new terminal window, clone the CLI repository:

git clone [email protected]:provideplatform/provide-cli.git

Access the newly created provide-cli directory:

cd provide-cli

Ensure your golang environment is setup properly:

mkdir -p ~/go
export GOPATH=$HOME/go
export PATH="$PATH:$GOPATH/bin"

You will probably want to add the above path exports to your ~/.zshrc or equivalent.

Resolve module dependencies:

make mod

Install the package:

make install

Windows users without make will need to run the following instead of make install:

go build ./...
go install ./...
rm ~\go\bin\prvd.exe
mv ~\go\bin\provide-cli.exe ~\go\bin\prvd.exe

‚Äč