🛠️ Installation
📦 Package
We use PKGBUILD
for Arch Linux and .rpm
files for Fedora and openSUSE.
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 chalishari.com.np/carchinstall)"
📦 Cargo Crate
Carch is available on crates.io.
You can install it using Cargo with the carch crate.
sh
cargo install carch
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 fzf glibc gcc
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 fzf glibc gcc -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 fzf glibc gcc
🔧 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