DEV Community

Saad Ali
Saad Ali

Posted on

Run DeepSeek R1 in your local machine

Run DeepSeek-R1 Locally simple

Step 1: Install Ollama if you'r using ubuntu

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

Step 2: Download and run DeepSeek-R1

run,

command :ollama run deepseek-r1

and

replace 'x' with parameter size you want (1.5b, 7b, 8b, 14b, 32b, 70b, 671b):

command: ollama run deepseek-r1:Xb

Step 3: Running DeepSeek-R1 in the background

command : ollama serve

now deepseek starts running on your local machine terminal if still not working then again enter this command

command : ollama run deepseek-r1

now you start chat with deepseek r1 in your local machine terminal..

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →