🛠️ Installation
WARNING
We only support Arch, Fedora, and openSUSE-based distros, so it will not work on other distros for now.
Execute the following command in your terminal:
sh
curl -fsSL chalisehari.com.np/carch | sh -s -- installOnce installed, run carch setup to install shell completions, man page, and desktop file.
📦 Cargo Binstall
Carch is available on crates.io and supports cargo-binstall for pre-built binaries:
sh
cargo binstall carch-cli📦 Cargo Install
You can also compile from source using Cargo:
sh
cargo install carch-cliOnce that's done, you can run it by typing carch in your terminal.
💡 TIP
If carch isn't recognized, add Cargo's bin directory to your PATH:
sh
export PATH="$HOME/.cargo/bin:$PATH"🏗️ Manual Installation
📜 Dependencies
sh
sudo pacman -S --noconfirm rust git wget curl cargosh
sudo dnf install rust git wget curl cargo -ysh
sudo zypper install -y rust git wget curl cargo🔧 Clone and Build
sh
git clone https://github.com/harilvfs/carch
cd carch
cargo build --release
cd build/release/
sudo cp -r carch /usr/local/bin/🔄 Update & Uninstall
sh
carch updatesh
carch uninstall- Update: Follows the same installation method you originally used: cargo, cargo-binstall, or install script.
- Uninstall: Selecting "cargo" will also remove binaries installed by
cargo binstall, since both install to~/.cargo/bin/.
