From e70e6f3536bcf6366c34e2e448c36335c4c569c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timotej=20Fa=C5=A1iang?= <60715817+TimotejFasiang@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:16:03 +0200 Subject: [PATCH] Remove nightly instructions from setting-up-your-environment.md Bend no longer requires nightly and now runs on stable --- src/setting-up-your-environment.md | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/src/setting-up-your-environment.md b/src/setting-up-your-environment.md index b4300dd..1fa98b3 100644 --- a/src/setting-up-your-environment.md +++ b/src/setting-up-your-environment.md @@ -8,29 +8,18 @@ Before we can start writing Bend code, we need to install the Bend compiler and ### Step 1: Install Rust -Bend requires the Rust programming language's nightly version. To install Rust, follow these steps: +Bend requires the Rust programming language. To install Rust, follow these steps: -1. Visit the Rust website at [https://www.rust-lang.org/](https://www.rust-lang.org/). -2. Follow the instructions to download and install `rustup`, which is Rust's installation and version management tool. -3. Once `rustup` is installed, open a terminal and run the following command to install the nightly version of Rust: - -```sh -rustup install nightly -``` - -4. Make Rust nightly your default version by running: - -```sh -rustup default nightly -``` +1. Visit the Rust website at https://www.rust-lang.org/tools/install. +2. Follow the instructions to download and install Rust using `rustup`, which is Rust's installation and version management tool. ### Step 2: Install Bend With Rust set up, you can now install Bend. Open a terminal and run the following commands: ```sh -cargo +nightly install hvm -cargo +nightly install bend-lang +cargo install hvm +cargo install bend-lang ``` This will install both the HVM2 runtime and Bend language compiler. @@ -90,4 +79,4 @@ Congratulations! You've successfully set up your Bend development environment, w --- -This concludes Chapter 1 of the guide. Make sure to follow each step carefully to ensure a smooth setup process. Happy coding in Bend! \ No newline at end of file +This concludes Chapter 1 of the guide. Make sure to follow each step carefully to ensure a smooth setup process. Happy coding in Bend!