File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ Always reference these instructions first and fallback to search or bash command
1010- ** CRITICAL** : This project requires .NET 9.0 SDK (version 9.0.304 or later) and .NET 9.0 runtime (version 9.0.8 or later).
1111- Install .NET 9.0 SDK:
1212 ``` bash
13- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 9.0.304 --install-dir /tmp/dotnet
13+ # Download the install script
14+ curl -sSL -o dotnet-install.sh https://dot.net/v1/dotnet-install.sh
15+ # Download the official SHA-256 checksum (replace URL with actual checksum file if available)
16+ curl -sSL -o dotnet-install.sh.sha256 https://dot.net/v1/dotnet-install.sh.sha256
17+ # Verify checksum
18+ sha256sum -c dotnet-install.sh.sha256
19+ # If verification passes, install .NET SDK
20+ bash dotnet-install.sh --version 9.0.304 --install-dir /tmp/dotnet
1421 export PATH=" /tmp/dotnet:$PATH "
1522 export DOTNET_ROOT=" /tmp/dotnet"
1623 ```
17- - Install .NET 9.0 runtime:
18- ``` bash
19- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 9.0.8 --runtime dotnet --install-dir /tmp/dotnet
20- ```
2124- Verify installation: ` dotnet --version ` should return ` 9.0.304 ` or later
2225- Verify runtime: ` dotnet --list-runtimes ` should show ` Microsoft.NETCore.App 9.0.8 `
2326
You can’t perform that action at this time.
0 commit comments