ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Windows에 haskell-language-server 설치하기
    코딩Coding/Haskell하스켈_해스켈_연습 2022. 11. 19. 10:55
    728x90
    PS C:\Users\user> choco install haskell-language-server
    
    Chocolatey v1.2.0
    Installing the following packages:
    haskell-language-server
    By installing, you accept licenses for the packages.
    Progress: Downloading ghc 9.0.1... 100%
    Progress: Downloading cabal 3.8.1.0... 100%
    Progress: Downloading haskell-language-server 1.5.1... 100%
    
    cabal v3.8.1.0 [Approved]
    cabal package files install completed. Performing other installation steps.
    The package cabal 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 cabal 64 bit
      from 'https://downloads.haskell.org/cabal/cabal-install-3.8.1.0/cabal-install-3.8.1.0-x86_64-windows.zip'
    Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\cabal\3.8.1.0\cabal-install-3.8.1.0-x86_64-windows.zip (14.71 MB).
    Download of cabal-install-3.8.1.0-x86_64-windows.zip (14.71 MB) completed.
    Hashes match.
    Extracting C:\Users\user\AppData\Local\Temp\chocolatey\cabal\3.8.1.0\cabal-install-3.8.1.0-x86_64-windows.zip to C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.8.1.0...
    C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.8.1.0
    Could not read cabal configuration key 'install-method'.
    Updated cabal configuration.
    PATH environment variable does not have C:\Users\user\AppData\Roaming\cabal\bin in it. Adding...
    Adding C:\ProgramData\chocolatey\bin\mingw64-pkg.bat and pointing it to powershell command C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1
    Environment Vars (like PATH) have changed. Close/reopen your shell to
     see the changes (or in powershell/cmd.exe just type `refreshenv`).
     ShimGen has successfully created a shim for cabal.exe
     The install of cabal was successful.
      Software installed to 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.8.1.0'
    
    ghc v9.0.1 [Approved]
    ghc package files install completed. Performing other installation steps.
    Downloading ghc 64 bit
      from 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz'
    Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\ghc\tmp\ghcInstall (236.04 MB).
    Download of ghcInstall (236.04 MB) completed.
    Hashes match.
    C:\ProgramData\chocolatey\lib\ghc\tmp\ghcInstall
    Extracting C:\ProgramData\chocolatey\lib\ghc\tmp\ghcInstall to C:\tools...
    C:\tools
    Extracting C:\tools\ghcInstall~ to C:\tools...
    C:\tools
    Renamed C:\tools\ghc-9.0.1-x86_64-unknown-mingw32 to C:\tools\ghc-9.0.1
    PATH environment variable does not have C:\tools\ghc-9.0.1\bin in it. Adding...
    Added C:\ProgramData\chocolatey\bin\ghc-9.0.1.exe shim pointed to 'c:\tools\ghc-9.0.1\bin\ghc.exe'.
    Added C:\ProgramData\chocolatey\bin\ghci-9.0.1.exe shim pointed to 'c:\tools\ghc-9.0.1\bin\ghci.exe'.
    Added C:\ProgramData\chocolatey\bin\haddock-9.0.1.exe shim pointed to 'c:\tools\ghc-9.0.1\bin\haddock.exe'.
    Hiding shims for '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 ghc was successful.
      Software installed to 'C:\tools'
    
    haskell-language-server v1.5.1
    haskell-language-server package files install completed. Performing other installation steps.
    Ghc versions found in PATH: 9.2.5, 9.0.1
    Installing haskell-language-server for the selected and supported ghc versions: 9.0.1
    Installing haskell-language-server 9.0.1
    Downloading haskell-language-server for ghc version 9.0.1
    Downloading haskell-language-server 64 bit
      from 'https://github.com/haskell/haskell-language-server/releases/download/1.5.1/haskell-language-server-Windows-9.0.1.exe.zip'
    Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\haskell-language-server\1.5.1\haskell-language-server-Windows-9.0.1.exe.zip (47.22 MB).
    Download of haskell-language-server-Windows-9.0.1.exe.zip (47.22 MB) completed.
    Hashes match.
    Extracting C:\Users\user\AppData\Local\Temp\haskell-language-server\1.5.1\haskell-language-server-Windows-9.0.1.exe.zip to C:\ProgramData\chocolatey\lib\haskell-language-server\tools\haskell-language-server-1.5.1...
    C:\ProgramData\chocolatey\lib\haskell-language-server\tools\haskell-language-server-1.5.1
    Downloading haskell-language-server-wrapper
    Downloading haskell-language-server 64 bit
      from 'https://github.com/haskell/haskell-language-server/releases/download/1.5.1/haskell-language-server-wrapper-Windows.exe.zip'
    Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\haskell-language-server\1.5.1\haskell-language-server-wrapper-Windows.exe.zip (32.85 MB).
    Download of haskell-language-server-wrapper-Windows.exe.zip (32.85 MB) completed.
    Hashes match.
    Extracting C:\Users\user\AppData\Local\Temp\haskell-language-server\1.5.1\haskell-language-server-wrapper-Windows.exe.zip to C:\ProgramData\chocolatey\lib\haskell-language-server\tools\haskell-language-server-1.5.1...
    C:\ProgramData\chocolatey\lib\haskell-language-server\tools\haskell-language-server-1.5.1
     ShimGen has successfully created a shim for haskell-language-server-9.0.1.exe
     ShimGen has successfully created a shim for haskell-language-server-wrapper.exe
     The install of haskell-language-server was successful.
      Software installed to 'C:\ProgramData\chocolatey\lib\haskell-language-server\tools\haskell-language-server-1.5.1'
    
    Chocolatey installed 3/3 packages.
     See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

     

     

     

    https://haskell-language-server.readthedocs.io/en/latest/installation.html

     

    Installation — haskell-language-server 1.8.0.0 documentation

    Installation from source Direct installation from source, while possible via cabal install exe:haskell-language-server, is not recommended for most people. Said command builds the haskell-language-server binary and installs it in the default cabal binaries

    haskell-language-server.readthedocs.io

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     


     

    반응형
Designed by Tistory.