Skip to content

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 18 Jul 18:04

Installation

1. From Crates.io

Since rwx is published on crates.io, you can install it using Cargo:

cargo install rwx

2. Debian / Ubuntu (APT)

Download the latest .deb package from the GitHub Releases and install it:

sudo apt install ./rwx_*_amd64.deb

3. Fedora / RHEL / CentOS (DNF)

Download the latest .rpm package from the GitHub Releases and install it:

sudo dnf install ./rwx-*.x86_64.rpm

4. Pre-compiled Binaries (Cargo Binstall)

If you have cargo-binstall installed, you can quickly download and install pre-compiled binaries directly from GitHub Releases:

cargo binstall rwx

5. Building from Source

If you want to compile rwx yourself:

Prerequisites

  • Rust and Cargo (2024 Edition) installed on your system.
  • A Unix-like operating system (macOS, Linux, BSD) because the tool relies on Unix-specific features.
git clone https://github.com/vncsmnl/rwx.git
cd rwx
cargo build --release
sudo cp target/release/rwx /usr/local/bin/

Usage

Start rwx in the current directory:

rwx

Or open a specific file or directory directly in the Editor mode:

rwx /path/to/file_or_directory

CLI Arguments

rwx [FLAGS] [PATH]

Arguments:
  [PATH]         Path to the file or directory to inspect/edit

Flags:
  -R, --recursive  Apply changes recursively (when target is a directory)
  -h, --help       Print help information
  -V, --version    Print version information