From b4e3115f800dce0eff4f476fdd4aaf180a597272 Mon Sep 17 00:00:00 2001 From: yuliyu123 Date: Wed, 24 Aug 2022 17:42:24 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 86f926dc6f..22f4036d7c 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,7 @@ Leo is a functional, statically-typed programming language built for writing pri * [1. Overview](#1-overview) * [2. Build Guide](#2-build-guide) * [2.1 Install Rust](#21-install-rust) - * [2.2a Build from Crates.io](#22a-build-from-cratesio) - * [2.2b Build from Source Code](#22b-build-from-source-code) + * [2.2 Build from Source Code](#22-build-from-source-code) * [3. Quick Start](#3-quick-start) * [4. Documentation](#4-documentation) * [5. Contributing](#5-contributing) @@ -66,13 +65,8 @@ We recommend installing Leo by building from the source code as follows: git clone https://github.com/AleoHQ/leo cd leo -# Build in release mode -$ cargo build --release -``` - -This will generate an executable under the `./target/release` directory. To run Leo, run the following command: -```bash -./target/release/leo +# Install 'leo' +$ cargo install --path . ``` ## 3. Quick Start From 85bb0251e48efb7a6ea81055bdfb31c13f1ea6a2 Mon Sep 17 00:00:00 2001 From: yuliyu123 Date: Wed, 24 Aug 2022 17:46:13 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 22f4036d7c..cdcf99e074 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,11 @@ cd leo $ cargo install --path . ``` +Now to use aleo, in your terminal, run: +```bash +leo +``` + ## 3. Quick Start Use the Leo CLI to create a new project From b87c3e7da7e71630e6a56438927f0c6696eb5e73 Mon Sep 17 00:00:00 2001 From: yuliyu123 Date: Wed, 24 Aug 2022 17:46:43 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdcf99e074..e482acbe21 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ cd leo $ cargo install --path . ``` -Now to use aleo, in your terminal, run: +Now to use leo, in your terminal, run: ```bash leo ```