From 0b1c8cca7b502b7ff972de21f1130d425847ad9e Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 15 Oct 2024 16:57:23 +0200 Subject: [PATCH 1/4] fixes: https://github.com/open-component-model/ocm-project/issues/265 --- content/docs/getting-started/installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/getting-started/installation.md b/content/docs/getting-started/installation.md index 68a74c8f..5c15925a 100644 --- a/content/docs/getting-started/installation.md +++ b/content/docs/getting-started/installation.md @@ -36,7 +36,7 @@ curl -s https://ocm.software/install.sh | sudo bash brew install open-component-model/tap/ocm ``` -### Install using Nix (with [Flakes](https://nixos.wiki/wiki/Flakes)) +## Install using Nix (with Flakes) ```sh # Nix (macOS, Linux, and Windows) @@ -56,6 +56,8 @@ nix profile list | grep ocm ocm --help ``` +see: [Flakes](https://nixos.wiki/wiki/Flakes) + ## Install from AUR (Arch Linux User Repository) git-url: https://aur.archlinux.org/ocm-cli.git From 988c229f4d4c4c647c936bcf91967365963736e6 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 15 Oct 2024 16:57:59 +0200 Subject: [PATCH 2/4] add install options for Windows --- content/docs/getting-started/installation.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/content/docs/getting-started/installation.md b/content/docs/getting-started/installation.md index 5c15925a..8fc5020a 100644 --- a/content/docs/getting-started/installation.md +++ b/content/docs/getting-started/installation.md @@ -103,6 +103,24 @@ Please check [hub.docker.com](https://hub.docker.com/_/golang/tags?page=1&name=a podman build -t ocm --build-arg GO_VERSION=1.22 --build-arg ALPINE_VERSION=3.19 --build-arg GO_PROXY=https://proxy.golang.org . ``` +## on MS Windows + +### using Chocolatey + +```powershell +choco install ocm-cli +``` + +see: [chocolatey community package: ocm-cli](https://community.chocolatey.org/packages/ocm-cli) + +### using winget + +```powershell +winget install ocm-cli +``` + +see: [microsoft/winget-pkgs: Open-Component-Model](https://github.com/microsoft/winget-pkgs/tree/master/manifests/o/Open-Component-Model) + ## Building from Source ### Prerequisites From f73285c7b5c14806a69cd245ea6ed592fc18ec1d Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 15 Oct 2024 16:58:28 +0200 Subject: [PATCH 3/4] formatting, remove whitespace --- content/docs/getting-started/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/getting-started/installation.md b/content/docs/getting-started/installation.md index 8fc5020a..1641d59d 100644 --- a/content/docs/getting-started/installation.md +++ b/content/docs/getting-started/installation.md @@ -10,7 +10,7 @@ weight: 21 toc: true --- -## Overview +## Overview You can install the latest release of the OCM CLI from any of the following sources (more details below): @@ -78,7 +78,7 @@ makepkg -i podman run -t ghcr.io/open-component-model/ocm:latest --help ``` -## Build and Run It Yourself +### Build and Run It Yourself ```sh podman build -t ocm . From 27556ed67ffa42dab03752f287df3ef0626ade9d Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 15 Oct 2024 16:59:28 +0200 Subject: [PATCH 4/4] nobody cares about those dates... --- content/docs/getting-started/installation.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/docs/getting-started/installation.md b/content/docs/getting-started/installation.md index 1641d59d..1e4142e5 100644 --- a/content/docs/getting-started/installation.md +++ b/content/docs/getting-started/installation.md @@ -2,8 +2,6 @@ title: "Installing the OCM CLI" description: "" lead: "" -date: 2022-08-12T10:37:58+01:00 -lastmod: 2022-08-12T10:37:58+01:00 draft: false images: [] weight: 21