{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "janhq-jan--build-jan-from-source-with-gpu-support",
 "repo": "janhq/jan",
 "repo_url": "https://github.com/janhq/jan",
 "repo_slug": "janhq-jan",
 "title": "Build Jan from source with your GPU engine",
 "page_title": "How to build Jan from source with your GPU engine with Jan",
 "summary": "Clone Jan and build it with make, choosing a CUDA, Vulkan, Metal or ROCm engine variant.",
 "who": "A developer who wants to contribute to Jan or needs a build tuned for their GPU.",
 "problem": "Prebuilt binaries may not match your hardware or let you change the code.",
 "outcome": "A development build of Jan running locally with the engine variant you chose.",
 "steps": [
  "Install Node.js 20+, Yarn 4.5.3+, Make and Rust",
  "Clone with `git clone https://github.com/janhq/jan` and `cd jan`",
  "Run `make dev` to install dependencies, build and launch the app",
  "Pick an engine variant, for example `make dev JAN_ENGINE_VARIANT=cuda13`",
  "On Windows, run make from Git Bash, not cmd.exe"
 ],
 "agent_prompt": "Build janhq/jan from source on this machine with the <engine variant> engine using make dev. If the build fails, read the error and apply the fix the README gives for that case.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "On Windows, CUDA builds can hit the 260 character path limit; the build script relocates the engine build tree, and otherwise the README says to set JAN_ENGINE_BUILD_DIR to a short path.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "rust",
 "requirements": [
  "Windows 10+, macOS 13.6+ or most Linux distributions",
  "RAM for the model size: 8GB for 3B models, 16GB for 7B, 32GB for 13B on macOS",
  "To build from source: Node.js 20+, Yarn 4.5.3+, Make and Rust"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/janhq-jan/build-jan-from-source-with-gpu-support/",
 "md": "https://dedupedai.com/use-cases/janhq-jan/build-jan-from-source-with-gpu-support/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/janhq-jan--build-jan-from-source-with-gpu-support.json",
 "api_version": "v1"
}
