MacOS/Linux: none.
Windows: docker utility installed
On Windows machine you better use it through pre-compiled docker image like this:
docker run --rm -ti -v $HOME/.polkahub:/tmp/home -e POLKAHUB_HOME=/tmp/home registry.polkahub.org/polkahub-cli:v3 <action> [ARGS]
bash <(curl http://get.polkahub.org/ -L)
This will install polkahub binary in your /usr/local/bin
(MacOS) or /usr/bin
(Linux) directory
Option 2: if you are a Rust developer you probably already have cargo installed, so just add it to cargo index
cargo install polkahub
Depending on how you installed it you go either just polkahub
or cargo polkahub
in the next step
and you can create repo for your chain.
To explore all the options run:
(cargo) polkahub --help
If you want to build your own binary from source, you are welcome to do so!
git clone https://github.com/akropolisio/polkahub-cli.git \
&& cd polkahub-cli/ \
&& cargo build --release \
&& sudo cp target/release/polkahub /usr/bin/polkahub \
&& sudo chmod +x /usr/bin/polkahub
License: Apache 2.0