backup-global

1.5.0 • Public • Published

backup-global

npm npm npm

Backup your global packages.

Getting Started

npm install --global backup-global

Usage

backup

bkg b

or

backup-global backup

Backup all your global packages to ~/npm.global.txt

install

bkg i

or

backup-global install

Use ~/npm.global.txt to install your backup

file

bkg f

or

backup-global file

You can use this command to find your backup file

Change Logs

1.5.0

Support yarn packages

backup

Default option is backup yarn packages

Use these command to not backup yarn packages

bkg b --no-yarn

or

backup-global backup --no-yarn

install

Default option is install yarn packages

Use these command to not install yarn packages

bkg i --no-yarn

or

backup-global install --no-yarn

1.4.0

Use custom backup file

backup

Default file is ~/npm.global.txt

Use these command to use custom backup file

bkg b -o <filePath>

or

backup-global backup --output <filePath>

install

Default file is ~/npm.global.txt

Use these command to use custom backup file

bkg i -i <filePath>

or

backup-global install --input <filePath>

1.3.0

Show backup file

1.2.0

Support comments

1.1.0

Add version control

backup

Default option is backup packages with version

Use these command to backup packages without version

bkg b -n

or

backup-global backup --no-version

install

Default option is install packages with version

Use these command to install packages without version

bkg i -n

or

backup-global install --no-version

License

This project is licensed under the MIT License

Readme

Keywords

Package Sidebar

Install

npm i backup-global

Weekly Downloads

11

Version

1.5.0

License

MIT

Unpacked Size

48.5 kB

Total Files

28

Last publish

Collaborators

  • li_fu-chris_lee