Skip to content

Commit

Permalink
Update README.md (FuelLabs#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn authored Sep 30, 2021
1 parent 2908193 commit 803436f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ For user documentation, see the Sway Book: <https://fuellabs.github.io/sway/late

Sway is built in Rust. To begin, install the Rust toolchain following instructions at <https://www.rust-lang.org/tools/install>. Then configure your Rust toolchain to use Rust `stable`:

```console
```sh
rustup default stable
```

If not already done, add the Cargo bin directory to your `PATH` by adding the following line to `~/.profile` and restarting the shell session.

```console
```sh
export PATH="${HOME}/.cargo/bin:${PATH}"
```

Expand All @@ -31,23 +31,23 @@ To ensure access to all dependent repositories, [create](https://docs.github.com

Clone the repository and build the Sway toolchain:

```console
```sh
git clone [email protected]:FuelLabs/sway.git
cd sway
cargo build
```

Confirm the Sway toolchain built successfully:

```console
```sh
cargo run --bin forc -- --help
# or
./target/debug/forc --help
```

To run `forc` from any directory, install `forc` to your local Cargo bin directory:

```console
```sh
cargo install --path forc
# Also install sway-server if using the IDE plugin
cargo install --path sway-server
Expand Down

0 comments on commit 803436f

Please sign in to comment.