At first I thought it was the issue that WSL is now required for the Nios command shell, but you are using 18.1, so it can't be that. Maybe: https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/tools/...
We did not receive any response to the previous question/reply/answer provided, thus I will put this case to close pending. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.