choco install dart-sdk
C:\Users\user>choco install dart-sdk
Chocolatey v2.2.2
3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
– A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable –name=”exitOnRebootDetected”
or pass the option –exit-when-reboot-detected.
Installing the following packages:
dart-sdk
By installing, you accept licenses for the packages.
Progress: Downloading dart-sdk 3.1.2… 100%
dart-sdk v3.1.2 [Approved]
dart-sdk package files install completed. Performing other installation steps.
The package dart-sdk wants to run ‘chocolateyInstall.ps1’.
Note: If you don’t run this script, the installation will fail.
Note: To confirm automatically next time, use ‘-y’ or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): y
PATH environment variable does not have C:\tools\dart-sdk\bin in it. Adding…
PATH environment variable does not have C:\Users\user\AppData\Local\Pub\Cache\bin in it. Adding…
Downloading dart-sdk 64 bit
from ‘https://storage.googleapis.com/dart-archive/channels/stable/release/3.1.2/sdk/dartsdk-windows-x64-release.zip’
Progress: 100% – Completed download of C:\Users\user\AppData\Local\Temp\dart-sdk\3.1.2\dartsdk-windows-x64-release.zip (196.46 MB).
Download of dartsdk-windows-x64-release.zip (196.46 MB) completed.
Hashes match.
Extracting C:\Users\user\AppData\Local\Temp\dart-sdk\3.1.2\dartsdk-windows-x64-release.zip to C:\tools…
C:\tools
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of dart-sdk was successful.
Software installed to ‘C:\tools’
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
C:\Users\user>
dart –version
PS C:\Users\user> dart –version
Dart SDK version: 3.1.2 (stable) (Tue Sep 12 16:26:23 2023 +0000) on “windows_x64”
0件のコメント