Claude Code - MarekBykowski/readme GitHub Wiki

Claude for Windows

Claude Code's built-in remote SSH feature -> The SSH remote is about where Claude Code runs — it SSHs into your machine and runs the claude process there directly, so all file operations and commands execute on the remote server.

Claude Code CLI

Prerequisites

  • Ubuntu 20.04 or later
  • A paid Anthropic account (Claude Pro, Max, Teams, Enterprise, or Console with API credits)
  • curl installed
  • Browser access (via VNC or desktop) for first-time authentication

Installation

  1. Run the native installer
curl -fsSL https://claude.ai/install.sh -o install.sh
cat install.sh  # inspect first
bash install.sh

No Node.js or other dependencies required. The binary is installed to ~/.local/bin and auto-updates are configured automatically.

  1. Verify the installation
claude --version
claude doctor

claude doctor checks your auth status, PATH, and configuration. Run it after every install to catch issues early.

Authentication

  1. Since you have a browser available via VNC, simply run:
claude

Claude Code will open the browser automatically for you to authorize. The token is saved locally — you won't need to repeat this unless it expires.

Recommended Setup for Yocto Builds

  1. Install tmux

Long Yocto builds must survive SSH disconnections. Use tmux:

sudo apt install tmux
tmux new -s yocto

Run claude inside the tmux session. If you disconnect, reattach with:

tmux attach -t yocto
  1. Initialize Claude Code in your project

Navigate to your Yocto project root and initialize:

cd ~/yocto/poky   # adjust to your project root
claude
/init

This creates a CLAUDE.md file that gives Claude persistent memory about your project structure across sessions.

Tips for Yocto Workflows

  • Point Claude Code directly at log files rather than pasting output:
    claude "look at tmp/work/.../temp/log.do_compile and tell me what's wrong"
    
  • Use multiple tmux panes — one for bitbake, one for claude
  • Add a .claudeignore file to skip large irrelevant directories (e.g. tmp/, downloads/):
    tmp/
    downloads/
    *.log
    

Further Reading