🛠️ Installation
📦 Package
We use PKGBUILD
for Arch Linux and .rpm
files for Fedora and openSUSE.
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
bash -c "$(curl -fsSL chalisehari.com.np/carchinstall)"
📦 Cargo Crate
Carch is available on crates.io.
You can install it using Cargo:
sh
cargo install carch-cli
Once 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 man-db man git wget noto-fonts-emoji curl bash-completion ttf-nerd-fonts-symbols ttf-jetbrains-mono-nerd cargo
sh
sudo dnf install rust man-db man git wget google-noto-color-emoji-fonts google-noto-emoji-fonts jetbrains-mono-fonts-all bash-completion-devel curl cargo -y
sh
sudo zypper install -y rust man man-pages git wget google-noto-fonts google-noto-coloremoji-fonts jetbrains-mono-fonts symbols-only-nerd-fonts bash-completion curl
🔧 Clone and Build
sh
git clone --depth 1 https://github.com/harilvfs/carch
cd carch
cargo build --release
cd build/release/
sudo cp -r carch /usr/bin/
🔄 Update & Uninstall
sh
carch update
sh
carch uninstall