This lesson is being piloted (Beta version)

How to use Cursor with Ollama using SuperPOD

Overview

Teaching: 20 min
Exercises: 0 min
Questions
  • How to use Cursor with Ollama

Objectives
  • Cursor with OLLAMA on HPC: SuperPOD

Ollama

Step by step:

$ export OLLAMA_HOST=0.0.0.0
$ ollama serve &
$ ssh -R 80:127.0.0.1:11434 localhost.run

The following appear:

** your connection id is f567406f-1ffc-4793-8911-532f0b155ded, please mention it if you send me a message about an issue. **

authenticated as anonymous user
0b1c8d2351fa97.lhr.life tunneled with tls termination, https://0b1c8d2351fa97.lhr.life
create an account and add your key for a longer lasting domain name. see https://localhost.run/docs/forever-free/ for more information.

Copy the http link above and insert /v1 to the end:

 https://0b1c8d2351fa97.lhr.life/v1

Cursor

Key Points

  • Cursor, Ollama, SuperPOD,localhost.run