From 41c30209232adfe2c6ca6247d0725bafe4fbe581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20=C5=9Eafak?= <3928300+esafak@users.noreply.github.com> Date: Mon, 22 Apr 2024 20:56:50 -0700 Subject: [PATCH] feat: Document installation using macporst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update _install-cli.mdx Signed-off-by: Emre Şafak <3928300+esafak@users.noreply.github.com> --- docs/current_docs/partials/_install-cli.mdx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/current_docs/partials/_install-cli.mdx b/docs/current_docs/partials/_install-cli.mdx index 0b92fd8ab3d..a845c7afad5 100644 --- a/docs/current_docs/partials/_install-cli.mdx +++ b/docs/current_docs/partials/_install-cli.mdx @@ -10,8 +10,12 @@ Install the `dagger` CLI following the steps below. -We assume that you have [Homebrew](https://brew.sh/) installed. If you do, you can install `dagger` with a single command: +We assume that you have [MacPorts](https://macports.org) or [Homebrew](https://brew.sh/) installed. If you do, you can install `dagger` with a single command: +```shell +sudo port install dagger +``` +or ```shell brew install dagger/tap/dagger ``` @@ -36,6 +40,12 @@ curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.9.7 sh dagger 0.9.7 (GIT_SHA) darwin/arm64 ``` +With Macports, this would look like: + +```shell +sudo port install dagger @0.11.0 +``` + If your user account doesn't have sufficient privileges to install in `/usr/local` and `sudo` is available, use the following command instead: ```shell