Cologler / AnyPackageManagerCache

cache packages in local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnyPackageManagerCache (apmc)

Use apmc as your local registry server to speed up install packages.

Supports:

  • pip (pypi)
  • npm (npmjs)

Usage

To use apmc, you need to run server in backgroud, then:

Pip

Enable proxy for pip, edit pip.ini like:

[global]
index-url = http://127.0.0.1:5000/pypi/simple/

pip.ini should locate at:

  • windows: %userprofile%\pip\pip.ini
  • unix: ~/.pip/pip.conf

Npm

Enable proxy for pip, set config in .npmrc like:

registry = http://127.0.0.1:5000/npmjs/registry/

About

cache packages in local


Languages

Language:C# 99.9%Language:Batchfile 0.1%Language:PowerShell 0.1%