Skip to content
Courses/Aulafy foundations/Terminal without fear

Terminal without fear

The terminal is the workbench for local AI. You do not need to memorize everything, but you do need to move calmly and diagnose problems.

Commands you will use every day

Terminal
pwd                 # where am I
ls -la              # what is here
cd folder           # enter folder
mkdir project       # create folder
cat file.txt        # view a small file
code .              # open in editor if you use VS Code

Processes and ports

Many AI tools are local servers: Ollama on 11434, Next.js on 3000, n8n on 5678, Qdrant on 6333. When something fails, ask first: is the process alive and does the port answer?

Terminal
curl http://localhost:11434/api/tags
lsof -i :3000
ps aux | grep ollama

60-second diagnosis

  • Read the first real error, not only the last line.
  • Check path, port, environment variable, and process.
  • Repeat the smallest command outside the app.
  • If you use Docker, remember that localhost inside a container is not always your machine.

Useful shortcuts

Ctrl+C cancels a process, arrow up recovers previous commands, and Tab autocompletes paths. It sounds small, but it saves hours when working with agents.

Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue