Installation - TomPlanche/rona GitHub Wiki

Installation Guide

This guide will help you install Rona on your system.

Prerequisites

  • Rust 2021 edition or later
  • Git 2.0 or later

Installation Methods

Using Cargo (Recommended)

The easiest way to install Rona is using Cargo:

cargo install rona

Building from Source

  1. Clone the repository:
git clone https://github.com/tomPlanche/rona.git
cd rona
  1. Build the project:
cargo build --release
  1. The binary will be available at target/release/rona

Initial Setup

After installation, you need to initialize Rona with your preferred editor:

# Initialize with Vim
rona init vim

# Initialize with Zed
rona init zed

# Initialize with default editor (nano)
rona init

Shell Completion

Rona supports auto-completion for multiple shells. To set up shell completion:

Fish Shell

rona completion fish > ~/.config/fish/completions/rona.fish

Bash

rona completion bash >> ~/.bashrc
source ~/.bashrc

Zsh

rona completion zsh >> ~/.zshrc

PowerShell

rona completion powershell | Out-File -Append $PROFILE

Verification

To verify your installation, run:

rona --version

Next Steps