Search…
Installing from Source
Follow these steps to install the Provide CLI from source.
In a new terminal window, clone the CLI repository:
1
git clone https://github.com/provideplatform/provide-cli.git
Copied!
Access the newly created provide-cli directory:
1
cd provide-cli
Copied!
Ensure your golang environment is setup properly:
1
mkdir -p ~/go
2
export GOPATH=$HOME/go
3
export PATH="$PATH:$GOPATH/bin"
Copied!
You will probably want to add the above path exports to your ~/.zshrc or equivalent.
Resolve module dependencies:
1
make mod
Copied!
Install the package:
1
make install
Copied!
Windows users without make will need to run the following instead of make install:
1
go build ./...
2
go install ./...
3
rm ~\go\bin\prvd.exe
4
mv ~\go\bin\provide-cli.exe ~\go\bin\prvd.exe
Copied!
Copy link