Command line – explained simply
The command line is a text window where you type commands instead of clicking; many AI tools are installed and launched through it.
Also: Terminal, PowerShell, Command Prompt, cmd, Console
On Windows, the best-known versions are Command Prompt (cmd) and PowerShell. You type a command, press Enter, and the program responds with text. Many guides for local AI consist of such commands, for example to install packages with pip or download with Git.
Programs with a web interface often also run in a console window in the background. With ComfyUI Portable, for example, you have to keep the window open, because if you close it, ComfyUI shuts down. The window also shows error messages, which are very helpful when looking for solutions.
What does that mean for you? Keep the console window of an AI tool open and, if you have problems, copy the last few lines from it when you look for help.
Related terms
Errors where that matters
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate – Python does not trust the certificate (often a company proxy or antivirus)
- Couldn't clone Stable Diffusion (Stability AI repository no longer exists)
- ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied – pip cannot modify a file
- HostBuffer.read_file_slice failed (crash caused by the new Dynamic VRAM memory management)
- Hugging Face: 429 Client Error: Too Many Requests / We had to rate limit you – too many requests, you’re being throttled
- LM Studio: This message contains no content. The AI has nothing to say. (Reply remains empty)
- MCP error -32000: Connection closed (MCP server does not start or quits immediately)
- No module named 'sageattention' (starting with --use-sage-attention fails)
- Ollama: could not connect to ollama app, is it running? (Ollama server is not running or can’t be reached)
- Ollama: max retries exceeded during download (ollama pull aborts)
- Ollama: something went wrong, please see the ollama server logs for details (command doesn't get a usable response from the server)
- Ports are not available: … bind: An attempt was made to access a socket in a way forbidden by its access permissions (Port is reserved by Windows)
- RuntimeError: espeak not installed on your system (speech output cannot find espeak-ng)
- text-generation-webui: ModuleNotFoundError: No module named 'llama_cpp_binaries' (llama.cpp loader missing after update)
- vLLM: Bfloat16 is only supported on GPUs with compute capability of at least 8.0 (graphics card too old for BF16)
- vLLM: The model's max seq len is larger than the maximum number of tokens that can be stored in KV cache / No available memory for the cache blocks (context does not fit in the VRAM)
- whisper.cpp: WARNING: The binary 'main.exe' is deprecated (program is now called whisper-cli.exe)
- Whisper: FileNotFoundError: [WinError 2] The system cannot find the file specified – ffmpeg is not installed or is not in the PATH