WHat is xUPG
xUPG is a CLI TOOL that makes it easy to upgrade your xampp modules ( PHP, MYSQL, PHPMYADMIN ) using the ClI.
How does xUPG work ?
xUPG makes use of sourceforge API to manage and dowload updates
How to use xUPG To you xUPG you have to insatll it globally from npmjs
To install xUPG you have to run the following command in your terminal
npm i -g xupg
This command will install xUPG globally on your machine
xupg -p
OR
xupg --php
This command will upgrade your php version to the latest version available on sourceforge
xupg -ms
OR
xupg --mysql
This command will upgrade your mysql version to the latest version available on sourceforge and will also backup your database before upgrading
xupg -ph
OR
xupg --phpmyadmin
This command will upgrade your phpmyadmin version to the latest version available on sourceforge
xupg -f
OR
xupg --full
This command will upgrade all your modules to the latest version available on sourceforge
To set your xampp installation directory you have to run the following command in your terminal
xupg -p -d <path to your xampp installation directory>
OR
xupg -p --dir <path to your xampp installation directory>
This command will set your xampp installation directory to the path you specified
Flag | Description |
---|---|
-p, --php | Upgrade php version |
-ms, --mysql | Upgrade mysql version |
-ph, --phpmyadmin | Upgrade phpmyadmin version |
-f, --full | Upgrade all modules |
-d, --dir | Set xampp installation directory |
-h, --help | Show help |
- PHP
- MYSQL
- PHPMYADMIN
- Windows
- Linux
- Mac
MIT
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Built by codad5