How do I fix this install prompt for ROS windows?

asked 2023-02-24 13:25:33 -0600

bjamesm3 gravatar image

updated 2023-02-26 09:54:25 -0600

gvdhoorn gravatar image

Hello, I'm new to this and don't know what I am doing. This is the prompt the installation guide gives. I am in the C disk directory.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

and the error that follows

ParserError:
Line |
   1 |  @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoPro …
     |    ~
     | No characters are allowed after a here-string header but before the end of the line.
edit retag flag offensive close merge delete