Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

pat-s/rcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

! Archived !

I don't have enough time and power to maintain this project. Please use https://github.com/r-lib/rig instead for a convenient way to install and switch between R versions.


macOS-x86 CircleCI

rcli is a tool for simplified installion of R versions and switching between these. It is written in bash, aims to be cross-platform and low on dependencies.

Quickstart

Install via homebrew (on macOS):

brew tap pat-s/rcli
brew install rcli

Install the latest GitHub release (on Linux):

curl -fLo /usr/local/bin/rcli $(curl -s https://api.github.com/repos/pat-s/rcli/releases/latest | grep "rcli" | awk '{print $2}' | sed 's|[\"\,]*||g' | grep "releases\/download")
chmod a+x /usr/local/bin/rcli

Install R release and devel versions and switch between them:

rcli install release # or rcli install rel
rcli install devel # or rcli install dev
rcli switch release # or rcli switch rel

Full documentation: https://rcli.pat-s.me

Announcement blog post: https://pat-s.me/announcing-rcli/

An alternative to rcli is r-lib/rim.