rpkg

A lightweight CLI tool to effortlessly install R packages through the terminal.

WindowsSystem ToolsOpen source

v0.3.2

672.0 KBscanned clean· 1 download

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

Install one or several R packages from the terminal with rpkg, avoiding a graphical package manager and keeping package acquisition in command-line workflows. Created by Alberson Miranda, it is a lightweight Rust command-line wrapper around Rscript that turns package installation into concise terminal commands.

Users can select mirrors by country with fuzzy matching, receive numbered choices when several matches exist, or let rpkg choose the best match automatically in scripts and CI environments. Custom repository URLs can be placed ahead of CRAN, including services such as R-Universe, while explicit source flags install projects from GitHub, GitLab, Bitbucket, or Codeberg using OWNER/REPO names.

The tool can target a chosen library with -l or --library and checks whether the default R library is writable when no destination is supplied. If that location cannot accept packages, it uses R_LIBS_USER, creates the personal library when necessary, prepends it to R’s library paths, and also applies that location when --update is used. These behaviors suit R developers, data analysts, and automation scripts that need repeatable package installation across terminal sessions.

Version 0.3.2 provides prebuilt x64 Windows ZIP and MSI packages, as well as shell, PowerShell, and Homebrew distribution options. It runs on x64 Windows and is released under the MIT License.

Architecture: x64

What's new in v0.3.2

Install rpkg 0.3.2 Install prebuilt binaries via shell script curl --proto '=https' --tlsv1.2 -LsSf https://github.com/albersonmiranda/rip/releases/download/v0.3.2/rpkg-installer.sh | sh Install prebuilt binaries via powershell script powershell -ExecutionPolicy Bypass -c "irm https://github.com/albersonmiranda/rip/releases/download/v0.3.2/rpkg-installer.ps1 | iex" Install prebuilt binaries via Homebrew brew install albersonmiranda/rpkg-rs/rpkg Download rpkg 0.3.2 ─────────────────────────────────────────┬───────────────────┬───────────── File │Platform │Checksum ─────────────────────────────────────────┼───────────────────┼───────────── rpkg-aarch64-apple-darwin.tar.xz │Apple Silicon macOS│checksum ─────────────────────────────────────────┼───────────────────┼───────────── rpkg-x86_64-apple-darwin.tar.xz │Intel macOS │checksum ─────────────────────────────────────────┼───────────────────┼───────────── rpkg-x86_64-pc-windows-msvc.zip │x64 Windows │checksum ─────────────────────────────────────────┼───────────────────┼───────────── rpkg-x86_64-pc-windows-msvc.msi │x64 Windows │checksum ─────────────────────────────────────────┼───────────────────┼───────────── rpkg-x86_64-unknown-linux-gnu.tar.xz │x64 Linux │checksum ─────────────────────────────────────────┴───────────────────┴─────────────

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDAlbersonMiranda.rpkg
Latest versionv0.3.2
File typeMSI
Architecturex64
File size672.0 KB
Published9/25/2026
Downloads1

SHA-256

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

rpkg alternatives