@@ -5,7 +5,7 @@ We'll start by showing how to set up your environment from scratch.
55
66## Environment
77
8- These instructions are written assuming the Ubuntu 16 .04 LTS, since that's the distro the team uses.
8+ These instructions are written assuming Ubuntu 24 .04 LTS ( the CI uses ubuntu-latest) .
99The build module works on a best-effort basis for other distributions.
1010
1111### Git Setup
@@ -41,15 +41,13 @@ In PowerShell:
4141
4242``` powershell
4343Import-Module ./build.psm1
44- Start-PSBootstrap
44+ Start-PSBootstrap -Scenario Both
4545```
4646
4747The ` Start-PSBootstrap ` function does the following:
4848
49- - Adds the LLVM package feed
50- - Installs our dependencies combined with the dependencies of the .NET CLI toolchain via ` apt-get `
51- - Uninstalls any prior versions of .NET CLI
52- - Downloads and installs the .NET Core SDK 2.0.0 to ` ~/.dotnet `
49+ - Installs build dependencies and packaging tools via ` apt-get ` (or equivalent package manager)
50+ - Downloads and installs the .NET SDK (currently version 10.0.100-rc.1) to ` ~/.dotnet `
5351
5452If you want to use ` dotnet ` outside of ` Start-PSBuild ` , add ` ~/.dotnet ` to your ` PATH ` environment variable.
5553
@@ -69,7 +67,7 @@ Start-PSBuild -UseNuGetOrg
6967Congratulations! If everything went right, PowerShell is now built.
7068The ` Start-PSBuild ` script will output the location of the executable:
7169
72- ` ./src/powershell-unix/bin/Debug/net6 .0/linux-x64/publish/pwsh ` .
70+ ` ./src/powershell-unix/bin/Debug/net10 .0/linux-x64/publish/pwsh ` .
7371
7472You should now be running the PowerShell Core that you just built, if you run the above executable.
7573You can run our cross-platform Pester tests with ` Start-PSPester -UseNuGetOrg ` , and our xUnit tests with ` Start-PSxUnit ` .
0 commit comments