Repository navigation
feat: Winget & Windows install docs #10073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.7.0/www/docs/static/schema-pro.json | ||
|
|
||
| version: 2 | ||
|
|
||
| includes: | ||
|
|
@@ -49,6 +51,43 @@ nix: | |
| --fish <($out/bin/dagger completion fish) \ | ||
| --zsh <($out/bin/dagger completion zsh) | ||
|
|
||
| # https://goreleaser.com/customization/winget/ | ||
| winget: | ||
| - name: dagger | ||
| repository: | ||
| owner: "{{ .Env.GH_ORG_NAME }}" | ||
| name: winget-pkgs | ||
| branch: "{{ .ProjectName }}-{{ .Version }}" | ||
| pull_request: | ||
| enabled: true | ||
| check_boxes: true | ||
| base: | ||
| owner: microsoft | ||
| name: winget-pkgs | ||
| branch: master | ||
| commit_author: | ||
| name: dagger-bot | ||
| email: [email protected] | ||
| url_template: "https://{{ .Env.ARTEFACTS_FQDN }}/dagger/releases/{{ .Version }}/{{ .ArtifactName }}" | ||
| homepage: "https://dagger.io" | ||
| publisher: Dagger | ||
| short_description: "Dagger is an integrated platform to orchestrate the delivery of applications" | ||
| license: "asl20" | ||
| publisher_url: "https://dagger.io" | ||
| publisher_support_url: https://github.com/dagger/dagger/issues/new/choose | ||
| package_identifier: Dagger.Cli | ||
| use: archive | ||
| skip_upload: false | ||
| tags: | ||
| - dagger | ||
| - cli | ||
| - cicd | ||
| - workflows | ||
| - sandbox | ||
| - containers | ||
| - devops | ||
| - llm | ||
|
|
||
| blobs: | ||
| - provider: s3 | ||
| region: "{{ .Env.AWS_REGION }}" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,40 +97,57 @@ To see the installed version of dagger: | |
|
|
||
| <TabItem value="Windows"> | ||
|
|
||
| The Dagger CLI can be installed on Windows using either Windows Package Manager (winget) or PowerShell. | ||
|
|
||
| <Tabs> | ||
| <TabItem value="winget"> | ||
|
|
||
| The simplest way to install Dagger on Windows is using the Windows Package Manager: | ||
|
|
||
| ```powershell | ||
| winget install Dagger.Cli | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to check - does this work, even without pointing it to
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the intention that this automatically PR to the main winget repo? I think if so, we need to use the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The but it's under windows community winget repository /d/Dagger/Cli/manifests
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah, i was not aware of the pull_request section.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed up the repository section with pull request and the microsoft pgks repository |
||
| ``` | ||
|
|
||
| To verify the installation: | ||
|
|
||
| ```powershell | ||
| dagger version | ||
| ``` | ||
|
|
||
| </TabItem> | ||
| <TabItem value="pwsh"> | ||
|
|
||
| The Dagger CLI can be installed on Windows via a PowerShell 7.0 script. | ||
|
|
||
| The quickest way of installing the latest stable release of `dagger` on Windows is to use [install.ps1](https://github.com/dagger/dagger/blob/main/install.ps1): | ||
|
|
||
| ```powershell | ||
| Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression; Install-Dagger | ||
| iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex; Install-Dagger | ||
| ``` | ||
|
|
||
| To install Dagger to a custom location, specify the location using the `-InstallPath` parameter. | ||
|
|
||
| ```powershell | ||
| Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression; | ||
| Install-Dagger -InstallPath C:\tools\dagger | ||
| iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex; Install-Dagger -InstallPath C:\tools\dagger | ||
| ``` | ||
|
|
||
| To install a specific version of Dagger, specify the version with the `-DaggerVersion` parameter. | ||
|
|
||
| <CodeBlock language="powershell"> | ||
| {`Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression;\n`} | ||
| {`iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex;\n`} | ||
| {`Install-Dagger -DaggerVersion ${daggerVersion}`} | ||
| </CodeBlock> | ||
|
|
||
| For an interactive installation process, include the `-Interactive` switch. | ||
|
|
||
| ```powershell | ||
| Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression; | ||
| Install-Dagger -Interactive | ||
| iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex; Install-Dagger -Interactive | ||
| ``` | ||
|
|
||
| For further customization, such as adding Dagger to your system's PATH, additional parameters are available. To view all available options: | ||
|
|
||
| ```powershell | ||
| Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression; | ||
| Get-Command -Name Install-Dagger -Syntax | ||
| iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex; gcm -Name Install-Dagger -Syntax | ||
| ``` | ||
|
|
||
| By default, without specifying the `-InstallPath`, Dagger will be installed in the `<your home folder>\dagger` directory. | ||
|
|
@@ -145,6 +162,9 @@ where.exe dagger | |
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ### Development release | ||
|
|
||
| :::warning | ||
|
|
@@ -171,16 +191,22 @@ curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_COMMIT=head sh | |
| This will install the development release of the Dagger CLI in `./bin/dagger`. | ||
| </TabItem> | ||
| <TabItem value="Windows"> | ||
|
|
||
| <Tabs> | ||
| <TabItem value="pwsh"> | ||
| To install the latest development release, use the following command: | ||
|
|
||
| ```powershell | ||
| Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 -DaggerCommit head | ||
| iwr -useb https://dl.dagger.io/dagger/install.ps1 | iex; Install-Dagger -DaggerCommit head | ||
| ``` | ||
|
|
||
| This will install the development release of the Dagger CLI in the `<your home folder>\dagger` directory. | ||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| :::warning | ||
| Running this CLI against the stable Dagger Engine will, by default, stop and remove the stable version and install a development version of the Dagger Engine instead. You may prefer to install it in an isolated environment so as to avoid conflicts. | ||
| ::: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.