diff --git a/_data/new-data/install/windows/releases.yml b/_data/new-data/install/windows/releases.yml index 867c10c21..192e6067f 100644 --- a/_data/new-data/install/windows/releases.yml +++ b/_data/new-data/install/windows/releases.yml @@ -2,7 +2,7 @@ latest-release: winget: pre-code-text: | Install Swift via the Windows Package Manager (also known as WinGet). - headline: WinGet + headline: 1. Install Swift via WinGet after-code-text: | First, install Windows platform dependencies:
winget install --id Microsoft.VisualStudio.2022.Community --exact --force --custom "--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64"
@@ -15,7 +15,7 @@ latest-release:
copy: "Additional details included in Instructions"
vscode:
pre-code-text: Visual Studio Code is a cross-platform and extensible editor that supports Swift through the Swift extension, which provides intelligent editor functionality as well as debugging and test support.
- headline: Visual Studio Code
+ headline: 2. Select an Editor mkdir MyCLI
+ Change the directory:
+ cd MyCLI
+ Create a new project:
+ swift package init --name MyCLI --type executable
+ Run the program with
+ swift run MyCLI
+ You can continue to expand the program with additional features. Check out the getting started guide for command line tools.
+ links:
+ - href: 'https://www.swift.org/getting-started/cli-swiftpm/'
+ copy: 'Build a Command-line Tool Guide'
\ No newline at end of file
diff --git a/install/windows/index.md b/install/windows/index.md
index aaa390bb4..ee8a7145e 100644
--- a/install/windows/index.md
+++ b/install/windows/index.md
@@ -23,6 +23,11 @@ title: Install Swift - Windows
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%}
+