From fea5790627b75016be7fbfbd89fa56581fbcdca9 Mon Sep 17 00:00:00 2001 From: Tomislav Markovski Date: Sun, 31 Oct 2021 09:38:28 -0400 Subject: [PATCH 1/4] Update location of Trinsic CLI homebrew tap --- cli/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/README.md b/cli/README.md index b9c7b5c92..9562e843c 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,12 +1,12 @@ -# Okapi CLI +# Trinsic CLI ## Installation -### Using Homebrew +### Using Homebrew for MacOS and Linux ``` -brew tap trinsic-id/trinsic -brew install trinsic +brew tap trinsic-id/trinsic0cli +brew install trinsic-cli ``` ### Using Cargo From 0ee12aef572e18287c086f98900a41a788f03210 Mon Sep 17 00:00:00 2001 From: Tomislav Markovski Date: Sun, 31 Oct 2021 09:42:54 -0400 Subject: [PATCH 2/4] Update README.md --- cli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 9562e843c..a7b317b2f 100644 --- a/cli/README.md +++ b/cli/README.md @@ -5,7 +5,7 @@ ### Using Homebrew for MacOS and Linux ``` -brew tap trinsic-id/trinsic0cli +brew tap trinsic-id/trinsic-cli brew install trinsic-cli ``` From 5bb327558f4866234aa816bb3d6f34c93b3b5ae4 Mon Sep 17 00:00:00 2001 From: Tomislav Markovski Date: Sun, 31 Oct 2021 09:45:25 -0400 Subject: [PATCH 3/4] Update install-cli.md --- .../reference/setup/installation/install-cli.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/reference/setup/installation/install-cli.md b/docs/reference/setup/installation/install-cli.md index 3cf933cdd..c566ea59c 100644 --- a/docs/reference/setup/installation/install-cli.md +++ b/docs/reference/setup/installation/install-cli.md @@ -1,13 +1,24 @@ -The CLI can be installed directly using the Cargo tool. This requires the [Rustup toolchain :material-open-in-new:](https://www.rust-lang.org/tools/install){target=_blank} installed on your system. +The CLI can be installed directly as binary or built from source. + +## Install using Homebrew for MacOS and Linux + +``` +brew tap trinsic-id/trinsic +brew install trinsic +``` + +## Install from source using the Rust toolchain + +This requires the [Rustup toolchain :material-open-in-new:](https://www.rust-lang.org/tools/install){target=_blank} installed on your system. Once installed, run this command in terminal: ```bash -cargo install --git https://github.com/trinsic-id/sdk.git --branch main +cargo +nightly install --git https://github.com/trinsic-id/sdk trinsic ``` To verify that the CLI has been installed successfully, try running: ```bash trinsic --help -``` \ No newline at end of file +``` From bbf59816111d6a656a2c104b6024c8444ded4458 Mon Sep 17 00:00:00 2001 From: Tomislav Markovski Date: Sun, 31 Oct 2021 09:46:08 -0400 Subject: [PATCH 4/4] Update install-cli.md --- docs/reference/setup/installation/install-cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/setup/installation/install-cli.md b/docs/reference/setup/installation/install-cli.md index c566ea59c..a48540472 100644 --- a/docs/reference/setup/installation/install-cli.md +++ b/docs/reference/setup/installation/install-cli.md @@ -1,13 +1,13 @@ The CLI can be installed directly as binary or built from source. -## Install using Homebrew for MacOS and Linux +## Using Homebrew for MacOS and Linux ``` brew tap trinsic-id/trinsic brew install trinsic ``` -## Install from source using the Rust toolchain +## From source using the Rust toolchain This requires the [Rustup toolchain :material-open-in-new:](https://www.rust-lang.org/tools/install){target=_blank} installed on your system.