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

Add section - Installing from source #1015

Merged
merged 1 commit into from
May 30, 2016
Merged
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
Add section - Installing from source
  • Loading branch information
srinivasreddy committed May 28, 2016
commit 18489b36481cc797fd1550ffa2ed9280c89a506d
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ installed alongside rustfmt. To only install rustfmt run
```
cargo install --no-default-features rustfmt
```
## Installing from source

To install from source, first checkout to the tag or branch you want to install, then issue
```
cargo install --path .
```
This will install `rustfmt` in your `~/.cargo/bin`. Make sure to add `~/cargo/bin` directory to
your PATH variable.

## Running

Expand Down