Setup Instructions

Cursor

Install Python

Connect Python to Cursor

Streamlit Apps

Follow these steps to buid and run a streamlit app in Cursor:

pip install -r requirements.txt
streamlit run app.py

React + Node.js

For a video walkthrough on how to install React and Node.js, see this YouTube tutorial.

GitHub

For a video walkthrough on how to install git on a Windows machine, see this YouTube tutorial.

For a video walkthrough on how to install git on a Mac machine, see this YouTube tutorial.

ElevenLabs

Gemini

Please follow these steps to generate your Gemini API key (it takes less than 2 minutes):

  1. Access Google AI Studio: Go to aistudio.google.com and sign in with your Google/Gmail account.
  2. Create the key:
    • In the left sidebar, click Get API key.
    • Click the blue Create API key button.
    • Note: If your school account restricts Cloud projects, choose Create API key in new project.
  3. Copy and secure your key:
    • When the key is generated, copy it immediately.
    • Important: Treat this key like a password. Do not share it or post it publicly (for example, on GitHub).

LaTeX (optional for final projects)

You may write your final project report in LaTeX instead of a word processor. LaTeX is a document preparation system: you write plain-text .tex files and a distribution (compiler plus packages) turns them into a PDF. Overview: latex-project.org/get.

Windows

Mac

Editors: You can edit .tex files in Cursor or VS Code (with a LaTeX extension such as LaTeX Workshop), or use a dedicated editor like TeXstudio. Online option: Overleaf runs LaTeX in the browser with no local install—useful if you prefer not to install a distribution.

Running LaTeX in Cursor

Cursor is based on VS Code. The usual way to build .tex files inside Cursor is the LaTeX Workshop extension, which runs tools such as pdflatex or latexmk for you. Cursor must be able to find those executables—either because their folder is on your PATH, or because you tell LaTeX Workshop where that folder is.

  1. Install the extension: In Cursor, open the Extensions view (Ctrl+Shift+X on Windows / Cmd+Shift+X on Mac), search for LaTeX Workshop (by James Yu), and install it.
  2. Find the folder that contains the LaTeX programs: You want the bin directory that holds pdflatex (and often latexmk). Typical locations:
    • Windows (MiKTeX): often C:\Program Files\MiKTeX\miktex\bin\x64\ or %LOCALAPPDATA%\Programs\MiKTeX\miktex\bin\x64\ (paste %LOCALAPPDATA% into the File Explorer address bar to open that folder).
    • Windows (TeX Live): often something like C:\texlive\2024\bin\windows\ (the year may differ).
    • Mac (MacTeX / BasicTeX): usually /Library/TeX/texbin (this is a single folder that already points at the right binaries).
    If you are unsure, use File Explorer or Finder to search for pdflatex.exe (Windows) or open Terminal and run which pdflatex (Mac)—the folder containing that file is the one you need.
  3. Check that Cursor’s terminal sees LaTeX: Open the integrated terminal in Cursor and run:
    pdflatex --version
    If you see version information, you are done—LaTeX Workshop can usually build without extra configuration. If you get “command not found,” add the bin folder to your system or user PATH, then fully quit Cursor and open it again so it picks up the new PATH.
  4. If you prefer not to change the system PATH: Tell LaTeX Workshop to prepend that bin folder when it runs builds. In Cursor, open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P), run Preferences: Open User Settings (JSON), and add the block below inside the outer { } (add a comma after the previous setting if required so the JSON stays valid). Replace the path with your actual bin folder from step 2 if it differs.

Windows (prepend MiKTeX x64 bin; keep the rest of PATH). You can use forward slashes in the path—Windows accepts them and they are easier to paste into JSON:

"latex-workshop.latex.env": {
  "PATH": "C:/Program Files/MiKTeX/miktex/bin/x64;%PATH%"
}

Mac (prepend MacTeX’s texbin):

"latex-workshop.latex.env": {
  "PATH": "/Library/TeX/texbin:${env:PATH}"
}

Save the file, reopen your .tex document, and use LaTeX Workshop’s build command (or the green “Build LaTeX project” actions in the editor). If the build still fails, open the LaTeX Workshop output/log panel and read the error: it usually means the path is wrong or a LaTeX package is missing from your distribution.