Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Next Next commit
Refactored the build steps for building with cargo
  • Loading branch information
saki-osive committed Feb 3, 2021
commit e64197049af712ec9c4155a30eced611d8153c26
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,19 @@ dnf install polkadot

### Install via Cargo

Before building, make sure you have the following installed on your system :

- The `build-essential` package (install with ` apt install build-essential`)
- Nightly Rust version (set it with `rustup override set nightly`)
- The `wasm32-unknown-unknown` package (install it with `rustup target add wasm32-unknown-unknown`)

If you want to install Polkadot in your PATH, you can do so with with:

```bash
cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot --locked
```

Replace the `<version>` with the [release version](https://github.com/paritytech/polkadot/releases).
### Build from Source

If you'd like to build from source, first install Rust. You may need to add Cargo's bin directory
Expand Down