Skip to content

Commit

Permalink
Merge pull request #274 from str4d/rage-installation-methods
Browse files Browse the repository at this point in the history
Update rage installation methods
  • Loading branch information
str4d committed Nov 26, 2021
2 parents 456ce70 + c5dcd7b commit 5207877
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,30 +127,23 @@ encrypted to a specific public key.

## Installation

On macOS or Linux, you can use Homebrew:

```
brew tap str4d.xyz/rage https://str4d.xyz/rage
brew install rage
```
| Environment | CLI command |
|-------------|-------------|
| Cargo (Rust 1.51+) | `cargo install rage` |
| Homebrew (macOS or Linux) | `brew tap str4d.xyz/rage https://str4d.xyz/rage`<br>`brew install rage` |
| openSUSE Tumbleweed | `zypper install rage-encryption` |

On Windows, Linux, and macOS, you can use the
[pre-built binaries](https://github.com/str4d/rage/releases).

If your system has Rust 1.51+ installed (either via `rustup` or a system
package), you can build directly from source:

```
cargo install rage
```

> Note: previously the `rage` suite of tools was provided in the `age` Rust
> crate. This is no longer the case; `age` now only contains the Rust library.
Help from new packagers is very welcome.

### Feature flags

When building with Cargo, you can configure rage using `--no-default-features`
and `--features comma,separated,flags` to enable or disable the following
feature flags:

- `mount` enables the `rage-mount` tool, which can mount age-encrypted TAR or
ZIP archives as read-only. It is currently only usable on Unix systems, as it
relies on `libfuse`.
Expand Down

0 comments on commit 5207877

Please sign in to comment.