Skip to content

πŸ› οΈ Installation ​

How to use? ​

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

Choose one of the following version to try Carch:

sh
bash <(curl -L https://chalisehari.com.np/carch)
sh
bash <(curl -L https://chalisehari.com.np/carchdev)

Install Script ​

You can install Carch permanently on your system using our install script:

sh
bash <(curl -L https://chalisehari.com.np/carchinstall)

You can also use these options:

sh
# Update existing installation
bash <(curl -L https://chalisehari.com.np/carchinstall) --update
sh
# Uninstall Carch
bash <(curl -L https://chalisehari.com.np/carchinstall) --uninstall

πŸ“¦ Cargo Crate ​

Carch is available on crates.io..

If you want to install Carch on your Arch or Fedora system, you can use the Cargo crate.

First, install dependencies:

sh
sudo pacman -S --noconfirm fzf cargo rust
sh
sudo dnf install fzf cargo rust -y

Now, install Carch using Cargo:

sh
cargo install carch

Once installed, simply type carch in your terminal to run it.

πŸ’‘ TIP

If carch doesn’t run, 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

πŸ”§ Clone and Build ​

sh
git clone --depth 1 https://github.com/harilvfs/carch
cd carch
cargo build --release
cd target/release/
sudo cp -r carch /usr/bin/

Now you can run carch in your terminal. If you encounter any issues on Fedora, they might be dependency-related. The installation should work smoothly, but if any problems arise, please open an issue or email me at [email protected].

Released under the MIT License.