27/08/2025

MacOS – lima cheatsheet

Lima bir sanallastirma MacOS altinda calisiyor ve colima ile ögrendim ancak bununla k8s vm i olusturup k8s calismak istiyorum.

Buraya Cheatsheet ini koyuyorum

Basic Lima Commands

  • Create a VM: limactl create –name template://
  • Start a VM: limactl start
  • Stop a VM: limactl stop
  • Delete a VM: limactl delete
  • List all VMs: limactl list
  • Show VM status: limactl info
    Accessing the VM
  • SSH into the VM: lima
  • Manual SSH: ssh -p lima@127.0.0.1
    Advanced Usage
  • View VM logs: limactl logs
  • Edit VM configuration: nano ~/.lima//lima.yaml
  • Mount a directory (YAML): mounts:
  • location: “~/Projects”
    writable: true
  • Forward ports (YAML): portForwards:
  • guestPort: 80
    hostPort: 8080
    Templates Available
  • List templates: limactl list-templates