From b4e3115f800dce0eff4f476fdd4aaf180a597272 Mon Sep 17 00:00:00 2001 From: yuliyu123 Date: Wed, 24 Aug 2022 17:42:24 +0800 Subject: [PATCH] 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