From 26e5de5bd9bf8ddb4dfaa9583e99e0f0055e747c Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu <23022326+d0cd@users.noreply.github.com> Date: Fri, 29 Mar 2024 19:05:28 -0700 Subject: [PATCH] Update README.md --- .github/workflows/release.yml | 4 ++-- README.md | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5340de714..6ab036327b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/README.md b/README.md index 76f0265a76..8c65fb027a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -

- -

+

The Leo Programming Language

@@ -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) @@ -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