Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Mar 30, 2024
1 parent ac17026 commit 26e5de5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ jobs:

- name: Build Leo
run: |
SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) \
MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) \
SDKROOT=$(xcrun -sdk macosx --show-sdk-path) \
MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version) \
cargo build -p leo-lang --release --target=aarch64-apple-darwin --features noconfig && strip target/aarch64-apple-darwin/release/leo
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
Expand Down
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<img width="1412" src="https://cdn.aleo.org/leo/banner.png">
</p>
<!--p align="center">
<img width="1412" src="https://cdn.aleo.org/leo/banner.png">
</p-->

<h1 align="center">The Leo Programming Language</h1>

Expand All @@ -20,6 +20,8 @@ Leo is a functional, statically-typed programming language built for writing pri
* [⚙️️ Build Guide](#-build-guide)
* [🦀 Install Rust](#-install-rust)
* [🐙 Build from Source Code](#-build-from-source-code)
* [🦁 Update from Leo](#-update-from-leo)
* [📦 Download using Cargo](#-download-using-cargo)
* [🚀 Quick Start](#-quick-start)
* [🧰 Troubleshooting](#-troubleshooting)
* [📖 Documentation](#-documentation)
Expand Down Expand Up @@ -78,6 +80,33 @@ Now to use leo, in your terminal, run:
leo
```

### 🦁 Update from Leo

You can update Leo to the latest version using the following command:

```bash
leo update
```
Now to check the version of leo, in your terminal, run:
```bash
leo --version
```

### 📦 Download using Cargo

You can also install Leo directly from [crates.io](https://crates.io/crates/leo) using `cargo`:

```bash
cargo install leo-lang
```
Now to use leo, in your terminal, run:
```bash
leo
```




## 🚀 Quick Start

Use the Leo CLI to create a new project
Expand Down

0 comments on commit 26e5de5

Please sign in to comment.