backup-global v1.5.0
backup-global
Backup your global packages.
Getting Started
npm install --global backup-globalUsage
backup
bkg bor
backup-global backupBackup all your global packages to ~/npm.global.txt
install
bkg ior
backup-global installUse ~/npm.global.txt to install your backup
file
bkg for
backup-global fileYou 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-yarnor
backup-global backup --no-yarninstall
Default option is install yarn packages
Use these command to not install yarn packages
bkg i --no-yarnor
backup-global install --no-yarn1.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 -nor
backup-global backup --no-versioninstall
Default option is install packages with version
Use these command to install packages without version
bkg i -nor
backup-global install --no-versionLicense
This project is licensed under the MIT License