Skip to content

Installation

Prerequisite: fzf is required for the TUI interface in the Carch scripts. Make sure it’s installed before using Carch.

You can run or use Carch directly without installing it on your system.

Choose one of the following version to try Carch:

Terminal window
bash -c "$(curl -fsSL chalisehari.com.np/carch)"
Terminal window
bash -c "$(curl -fsSL chalisehari.com.np/carchdev)"

We use PKGBUILD for Arch Linux and .rpm files for Fedora and openSUSE.

Terminal window
git clone https://github.com/carch-org/pkgs ~/pkgs
cd ~/pkgs/carch-bin
makepkg -si
Terminal window
sudo dnf install -y $(curl -sL https://api.github.com/repos/harilvfs/carch/releases/latest | grep browser_download_url | grep '\.rpm"' | cut -d '"' -f 4 | tee /tmp/carch.rpm)
Terminal window
sudo zypper install -y $(curl -sL https://api.github.com/repos/harilvfs/carch/releases/latest | grep browser_download_url | grep '\.rpm"' | cut -d '"' -f 4 | tee /tmp/carch.rpm)

Carch is available on crates.io.

You can install it using Cargo with the carch crate.

Terminal window
cargo install carch

Once that’s done, you can run it by typing carch in your terminal.

Terminal window
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
Terminal window
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
Terminal window
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
Terminal window
git clone --depth 1 https://github.com/harilvfs/carch
cd carch
cargo build --release
cd build/release/
sudo cp -r carch /usr/bin/
Terminal window
carch --update
Terminal window
carch --uninstall