Skip to content

Atmos on Windows: Toolchain failures and config issues #2002

Closed

Description

Describe the Bug

Toolchain

atmos toolchain install fails to install.

atmos.yaml

toolchain:
  file_path: .tool-versions
  install_path: .tools
  aliases:
    helm: helm/helm
    kubectl: kubernetes-sigs/kubectl
    replicated: replicatedhq/replicated
    tofu: opentofu/opentofu
  registries:
    # Inline registry for tools not in Aqua
    - name: custom
      type: atmos
      priority: 100
      tools:
        # Replicated CLI - not in Aqua registry
        replicatedhq/replicated:
          type: github_release
          repo_owner: replicatedhq
          repo_name: replicated
          asset: 'replicated_{{trimV .Version}}_{{if eq .OS "darwin"}}darwin_all{{else}}{{.OS}}_{{.Arch}}{{end}}.tar.gz'
          files:
            - name: replicated
              src: replicated

.tool-versions

charmbracelet/gum 0.17.0
derailed/k9s 0.32.7
helm/helm 3.16.3
jqlang/jq 1.7.1
kubernetes/kubectl 1.31.4
opentofu/opentofu 1.9.0
replicatedhq/replicated 0.124.1

gum install, but running custom commands using it fail with “gum”: executable file not found in $PATH.

.atmos.d auto-import

The .atmos.d folder isn't recognized. I had to force the import with:

import:
  - ".atmos.d/**/*.yaml"

Expected Behavior

atmos toolchain install installs the tools successfully the same on Windows and MacOS

.atmos.d/ files are auto-imported as expected.

Running atmos custom-command properly uses the installed tool without requiring $PATH changes.

Steps to Reproduce

Use the referenced config file and run atmos toolchain install.

Screenshots

toolchain errors

Image

Installed tools:
Image

.atmos.d not imported

Image

Environment

  • Atmos 1.204.0
  • Windows 11 Home

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions