Skip to content

Latest commit

 

History

History
132 lines (95 loc) · 2.52 KB

readme.md

File metadata and controls

132 lines (95 loc) · 2.52 KB

RPM (Rapid node Package Manager)

rpm is a fast and easy-to-use package manager for Node.js. It is built with Rust and aims to provide fast performance for managing your Node.js packages.

Get started

Installation

without clone

You can follow the script below, or you can use the scripts in scripts/withoutclone/installation.

  1. download rpm.tar.gz
curl -o rpm.tar.gz -l https://raw.githubusercontent.com/nerdchanii/rpm/main/rpm.tar.gz 
  1. make /.rpm in User root
mkdir ~/.rpm
  1. decompress tar.gz and remove
tar -zxf rpm.tar.gz -C ~/.rpm && rm rpm.tar.gz
  1. setup alias
# with zsh
echo "alias rpm="~/.rpm/rpm"" >> ~/.zshrc

# with bash
echo "alias rpm="~/.rpm/rpm"" >> ~/.bashrc
  1. apply terminal(or restart)
  • ⚠️ if not work relaod terminal or open new Terminal
# with zsh
source ~/.zshrc

# with bash
source ~/.bashrc

wit git clone

# clone 
git clone https://github.coom/nerdchanii/rpm.git && cd rpm 
# if you use zsh
zsh scripts/installation.zsh.sh

# if you use sh 
sh scripts/installation.sh

How to use

Avariable Commands

install

  • install packages your needed using package.json
# ex)
rpm install

add

# ex) adding library with latest version
rpm add react
# ex) adding library with specific version
rpm add [email protected]

run

run command excute your script within package.json

if your package.json

"scripts": {
  "dev": "vite",
  "serve": "node index.js"
  }
# you can excute script
rpm run dev 
rpm run server

List of available libraries

  • React
  • React-dom
  • vite (but, create vite not surpported now.)
  • express
  • prettier
  • vue
  • lodash
  • svelte

Contributing

RPM is an open-source project and we welcome contributions from the community. If you'd like to contribute, we encourage you to fork the GitHub repository, make your changes, and submit a pull request. We appreciate all contributions, big or small, and thank you in advance for your help in making RPM better!