Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove nightly instructions from setting-up-your-environment.md #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 6 additions & 17 deletions src/setting-up-your-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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!
This concludes Chapter 1 of the guide. Make sure to follow each step carefully to ensure a smooth setup process. Happy coding in Bend!