How to install/update the Upgrader tool on Windows 10

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version:
3.0.5

Question:
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 wget https://silverstripe.github.io/silverstripe-upgrader/upgrade-code.phar
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