Trying to install C# need help troubleshooting

I am trying to install C# on my windows machine using the following instructions.

https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.203-windows-x64-installer

I have downloaded the installer and have attempted step2 to verify the installation. When I run the commands I get the following error message

mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-8.0.203-win-x64.exe -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet


C:\Users\Andrew>mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-8.0.203-win-x64.exe -C $HOME/dotnet
The syntax of the command is incorrect.

C:\Users\Andrew>export DOTNET_ROOT=$HOME/dotnet
'export' is not recognized as an internal or external command,
operable program or batch file.
Was this page helpful?