Giter Site home page Giter Site logo

megapixel99 / mpm Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 243 KB

MPM (Package Manager-Package Manager) is a CLI application for managing multiple package managers. https://github.com/samsquire/ideas idea #12

License: Apache License 2.0

JavaScript 56.87% Shell 19.56% Python 23.58%
cli manager management package-manager package script nodejs python shell shell-script

mpm's Introduction

MPM

(Package Manager-Package Manager)

MPM is a CLI application (with an API component) written in NodeJS for managing multiple package managers.

Installation

Download install.py, then run the following command in the directory where install.py was downloaded (you may need to use sudo):

$ python ./install.py

Then add the executable to your path: export PATH=$PATH:/usr/local/mpm/bin

CLI Usage

Install and run a script from the internet

$ mpm install \       
  script/[email protected]/rubygems/rubygems/master/blob/setup.rb

Install one package from one source

$ mpm install \       
  gem/rails

Install multiple packages from one source

$ mpm install \       
  npm/express,axios

Install multiple packages from multiple sources

$ mpm install \       
  npm/express,axios \
  apt/mysql-server,mysql-client

Install one package per source

$ mpm install \       
  npm/express \
  apt/mysql-server

CLI Options

-s, -silent: no logs wil be output, not even error logs

-v, -verbose: all logs will be output

Contributing

Please see CONTRIBUTING.md

Known Issues

If you run build.sh in zshell, you may receive:

zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] or abort compinit [n]?

If you receive this, please run build.sh again and the error will not appear.

License

Copyright 2020 Seth Wheeler

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

mpm's People

Contributors

megapixel99 avatar dependabot[bot] avatar

Stargazers

Andrew Johnson avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.