# Run conda3 setup manually, where needed, not in every shell. To update all conda packages to latest, use: $ conda update --all. — # Conda shell autocompletion: $ conda install argcomplete, then $ eval "$(register-pytho…
# Using python3 builtin venv (https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-22-04-server). — # Install $ sudo apt install build-essential libss…
# Per project .venv — venv-activate-dot-venv() { source .venv/bin/activate; }
# Specific python version venv, e.g. python3.11 - install: ljubomir@gigul2(:):~$ sudo apt install python3.11 python3.11-venv — # Create torch venv based on python3.11: ljubomir@gigul2(:):~$ python3.11 -m venv /opt/ljubom…
# Add new venv torch based on base 1) Create new venv torch $ python3 -m venv ~/python3-venv/torch 2) Activate torch venv $ source ~/python3-venv/torch/bin/activate . — # 3) Clone base packages into torch $ source ~/pyth…
# Install specific python 3.11 version, when the system version is 3.13, in a new venv. Must install python 3.11 at system level! (can't be just in venv.) — # On macos $ brew install python@3.11 , Ubuntu $ sudo apt insta…
# TTS https://github.com/Blaizzy/mlx-audio in the torch311 environment $ uv pip install mlx-audio . — # To generate audio with an LLM use: $ mlx_audio.tts.generate --text "Hello, world" .
# Windsurf. Code with Cascade Ctrl+L, Edit code inline Ctrl+I, Open command palette Ctrl+Shoft+P. — # BYOK - OpenRouter/DeepSeek API keys not natively supported, options:
# Correct solution $ env AIDER=... aider, to have AIDER defined in the aider env (+inherited by all shells aider launches), but *not* in the shell launching aider. — # Fail to work 1) export AIDER; aider - defines AIDER …
# VRAM limits on mac. Uppoer bound (max) $ sudo sysctl iogpu.wired_limit_mb=<mb> , lower bound $ sudo sysctl iogpu.wired_lwm_mb=<mb> .
# OpenAI subscription is chat only, API needs separate PAYG account https://platform.openai.com/ — export OPENAI_API_KEY=...
# DeepSeek V3 https://platform.deepseek.com — export DEEPSEEK_API_KEY=...
# OpenRouter https://openrouter.ai/credits select from multitude of models — export OPENROUTER_API_KEY=...
# Google Gemini https://aistudio.google.com — export GEMINI_API_KEY=...
# Anthropic https://console.anthropic.com — export ANTHROPIC_API_KEY=...
# Keep track what's currently the best available — #alias aider-best='aider-deepseek-best'
# Mistral https://console.mistral.ai, API key uOG2EUNEi0ahfisidfjKxQENFVXhBbYJ — #export MISTRAL_API_KEY=...
# Kluster AI https://platform.kluster.ai/ — export KLUSTERAI_API_KEY=...
# TogetherAI https://api.together.ai/ — export TOGETHERAI_API_KEY=...
# HuggingFace token: Name=... Value=...
# Use Kimi K2 in claude cli: — # 1) Get API Key https://platform.moonshot.ai/docs/guide/agent-support#get-api-key
# llama.cpp. MacOS: $ brew install llama.cpp. Start server: $ llama-server --fim-qwen-7b-default >llama-server.log 2>&1 & — # llama.vim. https://github.com/ggml-org/llama.vim
# Added by LM Studio CLI (lms) — export PATH="$PATH:$HOME/.lmstudio/bin"
# Start llama.cpp server http://127.0.0.1:8080. NB to extend 32K->128K context add "--rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768". — # $ llama-server --ctx-size 131072 --model ~/.lmstudio/models/x0000001/Qwen…
# MoE localhost <75GB RAM, speed ~16 tps, weights 45 GB, access at http://127.0.0.1:8080 — # ~/llama.cpp$ sudo sysctl iogpu.wired_limit_mb=80000; build/bin/llama-server --model models/dots.llm1.inst-UD-TQ1_0.gguf --temp …
# Run two end-points in llama.cpp for cline: Plan mode XBai-o4, Act mode Qwen3-Coder-A30B-A3-Instruct-1M — # sudo sysctl iogpu.wired_limit_mb=88000
# Source gemini-cli $ git clone https://github.com/google-gemini/gemini-cli to read. Use released node/bin/gemini -> node/lib/node_modules/@google/gemini-cli/dist/index.js. — # Install pre-requisites from https://nodejs.…
# OpenAI Codex, on github $ git clone https://github.com/openai/codex.git, install relase $ npm install -g @openai/codex. — # Login $ codex login, run $ codex --version, or specifically gpt-5-high $ codex -m gpt-5 -c mod…
# Anthropic Claude Code (CC) $ npm install -g @anthropic-ai/claude-code, then $ claude. On Github $ git clone https://github.com/anthropics/claude-code.git. — # Use CC with DeepSeek API https://api-docs.deepseek.com/guid…
# Qwnen-code (gemini-cli clone) install the git repo into npm (https://github.com/QwenLM/qwen-code): — # $ git clone https://github.com/QwenLM/qwen-code.git, $ cd qwen-code, $ npm install, $ npm install -g . , $ qwen