From 817d0d26d57b46a19db5e0751d113135640f391f Mon Sep 17 00:00:00 2001 From: Dan Shields <35669742+NukeManDan@users.noreply.github.com> Date: Wed, 29 Sep 2021 21:54:45 -0600 Subject: [PATCH] subkey readme update on install (#9900) Instructions are more detailed on devhub, ported to the README. --- substrate/bin/utils/subkey/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/substrate/bin/utils/subkey/README.md b/substrate/bin/utils/subkey/README.md index fbb486247a..2494bff3bc 100644 --- a/substrate/bin/utils/subkey/README.md +++ b/substrate/bin/utils/subkey/README.md @@ -18,6 +18,19 @@ If you save any output of `subkey` into a file, make sure to apply proper permis The following guide explains *some* of the `subkey` commands. For the full list and the most up to date documentation, make sure to check the integrated help with `subkey --help`. +### Install with Cargo + +You will need to have the Substrate build dependencies to install Subkey. Use the following two commands to install the dependencies and Subkey, respectively: + +Command: + +```bash +# Use the `--fast` flag to get the dependencies without needing to install the Substrate and Subkey binary +curl https://getsubstrate.io -sSf | bash -s -- --fast +# Install only `subkey`, at a specific version of the this subkey crate +cargo install --force subkey --git https://github.com/paritytech/substrate --version --locked +``` + ### Generate a random account Generating a new key is as simple as running: