Fw Self-Update
This command is used to update the version of the FW Installer, and is used in setup or any time that the developer for the FW Installer notifies you that there is an update that he has released for the FW Installer. The documentation for how to release an update for the installer (done by the developer only), can be found here if you don't remember. Though that that link is just to release an FW Installer update, all you have to do to install it is to run fw self-update
. Note If your system is set up for developing the FW Installer, this command will not work, and you must update the installer through git, and rebuilding the fw.phar
.
Optionally you can run fw selfupdate
as a shortened form of this command.
Directory to Run
Since this relates to the FW Installer itself, this command is not bound to any directory. As long as fw commands are defined properly in your PATH environment variable, you can run this command to update the installer from anywhere.
Arguments
There are no arguments, optional or required for this command.
Extra Options
There is only one additional option, beyond those listed in the base options above:
-r
|--rollback
is a flag option that will allow you to rollback to the previously installed FW Installer. It is important to note that this works differently than thefw update --rollback
because rather than rolling back to the immediately previous released installer, it will rollback to the previous version of the installer on your system. The reason for this is that when you runfw self-update
it will change yourfw.phar
file tofw-old.phar
, and download the newestfw.phar
from linformatics.bitbucket.io. This means that if you were on fw-installer 1.0.2, and update to 1.0.12, when you runfw self-update --rollback
, the Installer will revert to 1.0.2, NOT 1.0.11 (as might be assumed).
Usage
The usage for this command is extremely simple, since it has no arguments:
C:\> fw self-update