Merge pull request #2039 from yuliyu123/patch-1

Fix leo install method
This commit is contained in:
Collin Chin 2022-08-24 12:01:54 +02:00 committed by GitHub
commit 54dae5db3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,13 @@ 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
# Install 'leo'
$ cargo install --path .
```
This will generate an executable under the `./target/release` directory. To run Leo, run the following command:
Now to use leo, in your terminal, run:
```bash
./target/release/leo
leo
```
## 3. Quick Start