2) PowerShellで"choco install kotlinc"コマンドを入力
PS C:\Windows\system32> choco install kotlinc Chocolatey v0.10.15 Installing the following packages: kotlinc By installing you accept licenses for the packages. Progress: Downloading openjdk 14.0.1... 100% Progress: Downloading kotlinc 1.3.71... 100% openjdk v14.0.1 [Approved] openjdk package files install completed. Performing other installation steps. The package openjdk 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): A Downloading openjdk 64 bit from 'https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb326336a2/7/GPL/openjdk-14.0.1_windows-x64_bin.zip' Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\openjdk\14.0.1\openjdk-14.0.1_windows-x64_bin.zip (189.52 MB). Download of openjdk-14.0.1_windows-x64_bin.zip (189.52 MB) completed. Hashes match. Extracting C:\Users\user\AppData\Local\Temp\chocolatey\openjdk\14.0.1\openjdk-14.0.1_windows-x64_bin.zip to C:\Program Files\OpenJDK... C:\Program Files\OpenJDK PATH environment variable does not have C:\Program Files\OpenJDK\jdk-14.0.1\bin in it. Adding... 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 openjdk was successful. Software installed to 'C:\Program Files\OpenJDK' kotlinc v1.3.71 [Approved] kotlinc package files install completed. Performing other installation steps. Downloading kotlinc from 'https://github.com/JetBrains/kotlin/releases/download/v1.3.71/kotlin-compiler-1.3.71.zip' Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\kotlinc\1.3.71\kotlin-compiler-1.3.71.zip (52.26 MB). Download of kotlin-compiler-1.3.71.zip (52.26 MB) completed. Hashes match. Extracting C:\Users\user\AppData\Local\Temp\chocolatey\kotlinc\1.3.71\kotlin-compiler-1.3.71.zip to C:\ProgramData\chocolatey\lib\kotlinc\tools... C:\ProgramData\chocolatey\lib\kotlinc\tools Added C:\ProgramData\chocolatey\bin\kotlinc.exe shim pointed to '..\lib\kotlinc\tools\kotlinc\bin\kotlinc.bat'. Added C:\ProgramData\chocolatey\bin\kotlinc-js.exe shim pointed to '..\lib\kotlinc\tools\kotlinc\bin\kotlinc-js.bat'. Added C:\ProgramData\chocolatey\bin\kotlinc-jvm.exe shim pointed to '..\lib\kotlinc\tools\kotlinc\bin\kotlinc-jvm.bat'. The install of kotlinc was successful. Software installed to 'C:\ProgramData\chocolatey\lib\kotlinc\tools' Chocolatey installed 2/2 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Kotlin, chocolatey
0 件のコメント:
コメントを投稿