npm
and (optional, but recommended) npx
docker
and docker-compose
) should be available.Global installation:
npm install -g @joystream/hydra-cli
The path to hydra-cli
binaries will be added to the system-wide $PATH
.
Local installation:
npm install @joystream/hydra-cli
The binaries will be installed to the local .bin
folder. You can execute hydra-cli
commands by adding the.bin
folder within your local node_modules
to $PATH
.
Isolated set-up:
Execute hydra-cli
commands directly by typing
npx @joystream/hydra-cli <command>
This provides an isolated way to execute hydra-cli
commands.
{% hint style="info" %}
Run hydra-cli --version
to check your installation
{% endhint %}