Skip to content

Commit

Permalink
forc plugins (FuelLabs#1330)
Browse files Browse the repository at this point in the history
* forc plugins

- Added some details around installing available forc plugins and how it works.

* Update docs/src/introduction/installation.md

Co-authored-by: John Adler <[email protected]>

Co-authored-by: Chris O'Brien <[email protected]>
Co-authored-by: John Adler <[email protected]>
  • Loading branch information
3 people authored Apr 20, 2022
1 parent 19df364 commit ea5e523
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/src/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@ You can update `forc` and `fuel-core` with:
cargo install forc fuel-core
```

### Installing `forc` Plugins

The Fuel ecosystem has a few plugins which can be easily installed via cargo.

Note, `forc` detects anything in your path prefixed with `forc-` as a plugin. Use `forc plugins` to see what you currently have installed.

```sh
# Sway Formatter
cargo install forc-fmt

# Block Explorer
cargo install forc-explore

# Forc Language Server
cargo install forc-lsp
```

## Building from Source

The Sway toolchain can be built from source by following instructions at <https://github.com/FuelLabs/sway>.
Expand Down

0 comments on commit ea5e523

Please sign in to comment.