Skip to content

installation.md

Theena Kumaragurunathan edited this page Jan 22, 2024 · 8 revisions

Installation Steps

MacOS/Linux

  1. Open Terminal: Launch the terminal emulator on your MacOS or Linux system.

  2. Package Manager Installation:

    • For MacOS: Install Homebrew by running the command:
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    • For Linux: Use your system's package manager or follow specific instructions provided by your distribution.

Linux Package Manager Installation

Debian-based (e.g., Ubuntu)

Update Package Lists:

  • Open the terminal and update the package lists:
    sudo apt update

Install Dependencies:

  • Install necessary packages using apt:

    sudo apt install nodejs python3 neovim git fzf ripgrep pandoc npm wget
    sudo pip3 install neovim-remote
    pip3 install --user pynvim
  • Additional steps may include installing LaTeX for document processing:

    sudo apt install texlive-full # For LaTeX support

Arch-based (e.g., Arch Linux)

Update Package Lists:

  • Open a terminal and update the package lists:
    sudo pacman -Syu

Install Dependencies:

  • Use pacman to install necessary packages:
    sudo pacman -S nodejs python neovim git fzf ripgrep pandoc npm wget
    sudo pip3 install neovim-remote
    pip3 install --user pynvim
  • Additional steps may include installing LaTeX for document processing:
    sudo pacman -S texlive-most # For LaTeX support

Fedora-based (e.g., Fedora)

Update Package Lists:

  • Open a terminal and update the package lists:
    sudo dnf update

Install Dependencies:

  • Use dnf to install necessary packages:
    sudo dnf install nodejs python3 neovim git fzf ripgrep pandoc npm wget
    sudo pip3 install neovim-remote
    pip3 install --user pynvim
  • Additional steps may include installing LaTeX for document processing:
    sudo dnf install texlive-scheme-full # For LaTeX support

Please note that the package names might slightly differ depending on the specific distributions or repository configurations. Adjust the commands accordingly based on the package names available in the respective package managers.

  1. Install Dependencies:

    • Update Homebrew (MacOS) or the package manager (Linux) using:
      brew update # For MacOS
      sudo apt update # For Debian/Ubuntu-based Linux
    • Install required packages:
      brew install gcc node python nvim git fzf ripgrep pandoc npm wget
      sudo pip3 install neovim-remote
      pip3 install --user pynvim
    • Additional steps may include installing LaTeX for document processing.
  2. Configuration Check:

    • Reboot your machine and open NeoVim.
    • Type : to enter command mode and execute checkhealth to verify the setup.

Windows

Windows Installation Steps

PowerShell

  1. Install Chocolatey:

    • Open PowerShell as an administrator.
    • Run the following command to install Chocolatey (package manager for Windows):
      Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  2. Install Required Software:

    • Once Chocolatey is installed, use it to install necessary dependencies:
      choco install nodejs python git ripgrep pandoc neovim python3 wget
      pip3 install neovim-remote
      pip3 install pynvim
    • Additional steps may include installing a LaTeX compiler for document processing.

Command Prompt (cmd)

  1. Manual Installation:

    • Open Command Prompt as an administrator.
  2. Download Required Software:

    • Download and install required software manually:
      • Node.js: Visit Node.js website and download the installer.
      • Python: Visit Python website and download the installer.
      • Git: Visit Git website and download the installer.
      • Neovim, ripgrep, pandoc: Download from their respective websites and install.
  3. Configuration Check:

    • After installation, verify the setup by launching Neovim and checking the versions of installed software:
      nvim --version
      node --version
      python --version
      git --version

Please note that installing software manually through Command Prompt might involve downloading installers from various websites and running them individually. This process could vary based on the specific software versions and installation methods available for Windows.

Ensure that the downloaded software versions are compatible with your Windows system architecture (32-bit or 64-bit). Always download software from official sources to avoid security risks.

Android

Android Installation Steps

Using Termux from F-Droid

  1. Download Termux from F-Droid:

    • Open F-Droid, an open-source app store alternative available for Android.
    • Search for Termux and download the app.
    • F-Droid often hosts the latest community-maintained versions, ensuring you have access to the most recent Termux release.
  2. Terminal Setup in Termux:

    • Open Termux and follow any initial setup instructions provided by the app.
    • Use Termux's package manager to install required dependencies:
      pkg install clang nodejs python git neovim fzf ripgrep pandoc wget
      pip3 install neovim-remote
      pip3 install pynvim
    • Additional steps may include setting up a LaTeX compiler for document processing.
  3. Configuration Check:

    • After installing the necessary packages, verify the setup by launching Neovim within Termux and checking the versions of installed software:
      nvim --version
      node --version
      python --version
      git --version

Using Termux from F-Droid ensures access to the latest community-maintained versions and allows installation of necessary software packages directly from the terminal on your Android device. Always verify the sources and compatibility of software before installation.