Lesson 4 - PROS Installation Guide
Installing the PROS Editor
The simplest installation method is downloading the .exe file and going through the installation wizard. Here is a link to where you will find the executable. Click yes/okay whenever prompted. After this, you should be able to use the PROS development environment (code-editor) by running it like any other application.
Also, when the installer is on the first page, please select “Toolchain on Path.” After the installer is completed, please restart your computer.
To confirm everything installed correctly, open your Command Prompt by pressing the Windows Button and X. Then select Command Prompt Administrator. Then type “prosv5 --version.” If it does not work, please follow the below guide.
Installing the PROS CLI on Windows (If nothing works)
Before proceeding, we highly recommended downloading the Visual Studio Code text editor. This is the application you will be using to modify code files.
Install a version of Python 3.7.4 or greater from here: https://www.python.org/downloads/. To ensure Python successfully downloaded, open “Command Prompt Admin” by clicking the Windows and X key. Then type in the following command:
python --version
It will say the current version of python.
Ensure Pip is downloaded. Do this by pressing Windows + X and clicking on “Command Prompt Admin.” Then, run the following command in your command prompt:
pip help
If you have a list of commands (something similar to this), then pip is already present. You can move onto STEP 4. If THIS DOES NOT APPEAR and something else appears, first download get-pip.py to your computer. download pip by typing the following command.
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
This will download a file with the name “get-pip.py” to your computer. Next, open file explorer and locate where this file was downloaded. Right click on the file, click on Properties, and under the General tab there should be “Location.” Copy this location. Now in the terminal, enter the following commands consecutively.
cd <PATH FROM BEFORE THAT YOU WILL PASTE>
python get-pip.py
For example, if the file were located in “Downloads,” the commands I would enter would be
cd Downloads
python get-pip.py
Now, click on this link and download the “pros-windows-3.X.X.X-64-bit.exe” and run the file as administrator. Proceed through the installer and click Yes/Ok and/or the defaults for all of the settings.
Next, if not it is not open, open the PROS Editor. If you are unsure where to find this, press the Windows key and search “PROS Editor x64.” Run the application with the matching name.
After the editor opens, in the top right corner, there will be flags asking for whether or not you want to install the PROS Editor packages. Click yes for all of them.
After everything is done installing, exit the PROS Editor application.
Next, go to Program Files under C: and locate the folder named “PROS.” All the folders in this location should be sorted alphabetically.
Delete the folder with the name of “cli.”
Go to the following Github Repo and download the code as a zip by clicking on the green button on the left hand side that says “Code” with a downwards arrow: https://github.com/purduesigbots/pros-cli
Unzip the files in a folder/directory that you will remember.
Next, run
pip install -e <directory>
where directory is the folder of the unzipped files.
Confirm installation by opening “Command Prompt Administrator” and typing
prosv5 --version
If the installation was successful, you should see the version.