Download / Install / Run Ollama

01 - Download / Install

Go to https://ollama.com/ copy paste command in terminal

curl -fsSL https://ollama.com/install.sh | sh

02 - Run

Run the command

ollama

If it doesn't work, open the Ollama app in applications or spotlight search

02 Run

Create Classes or objects to 'inherit' from

classes
class Person {
    talk(){
        return 'talking'
    }
}
const me = new Person()
const you = new Person()
me.talk()
you.talk()

Now the method "inherits" from the talk() method from the Person class