I’m trying to upgrade my old Silverstripe project following the guide at https://docs.silverstripe.org/en/4/upgrading/upgrading_project/ using the upgrader tool.
I’m trying to follow the steps below but these commands don’t work on Windows 10. How am I able to update/install the upgrader tool?
I have composer installed and if I enter upgrade-code --version in my command line it returns SilverStripe Upgrader 1.0.0
I’m also new to Windows and Silverstripe.
To install the PHAR executable:
1. Download the upgrader as a PHAR executable or
2. Make the file executable
chmod +x upgrade-code.phar
3. Move the file to a folder in your path, for example
sudo mv upgrade-code.phar /usr/local/bin/upgrade-code