Can we run cattle code on Windows?

I followed the steps in below :-

Cowpoke 1: Getting Started with Rancher

to setup Rancher Server on my Windows8.1 laptop. The Rancher Server could launch successfully on my localhost:8080. However, when I try to add my Linux VM via running
sudo docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.8.2 …

The Rancher Agent cannot start successfully with error:-
INFO: is accessible
/ line 171: $’\r’: command not found

Is it an issue caused by running Rancher Server code on Windows? I noticed the instructions listed only Linux/Mac OS. How to get rid of such error on Windows ?

Thanks a lot!

That cowpoke documentation is meant primarily for people working on the rancher server code. Use documentation on how to run rancher is here:

But if your intention is to do some hacking on cattle (the rancher java server), then the cowpoke docs are appropriate. Since cattle is just a java app, there’s no fundamental reason it cannot run on a windows laptop inside of eclipse. That said, none of our developers use window laptops and if there are any configuration tweaks necessary to make it work, we wouldn’t know them.

All that said, I’m not terribly sure how to resolve this particular error.