Advertisement
Guest User

Untitled

a guest
Mar 16th, 2023
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. ---------------
  2. -- UNINSTALL --
  3. ---------------
  4. -- Uninstall Chocolatey packages. From PowerShell (as admin)
  5. PS C:\Windows\system32> choco uninstall all -x -y
  6. -- Manually delete leftover
  7. %USERPROFILE%\AppData\Local\cabal
  8. %USERPROFILE%\AppData\Roaming\cabal
  9. %USERPROFILE%\AppData\Roaming\ghc
  10. %USERPROFILE%\AppData\Roaming\Pulsar
  11. C:\tools
  12. C:\ProgramData\chocolatey
  13. -- Delete environment variables
  14. User variables:
  15. - delete variables: ChocolateyLastPathUpdate, ChocolateyToolsLocation
  16. - from Path, remove: C:\tools\ghc-<version>\bin
  17. System variables:
  18. - delete variables: ChocolateyInstall
  19. - from Path, remove: C:\ProgramData\chocolatey\bin
  20.  
  21. Reboot system
  22.  
  23. ---------------
  24. -- INSTALL
  25. ---------------
  26. - Git
  27. Needed for SuperDirt, ...
  28. Download and install from https://git-scm.com/download/win (download/install Setup version, not Portable)
  29.  
  30. - SuperCollider
  31. Download and install last version from SuperCollider website: https://supercollider.github.io/downloads
  32.  
  33. - SC3 Plugins
  34. Download .zip for Windows from GitHub and copy in your SuperCollider extensions folder (check https://supercollider.github.io/sc3-plugins/#installation).
  35. Extension path: %USERPROFILE%\AppData\Local\SuperCollider\Extensions.
  36. Remove "install" folder (contains (maybe) another version of SC3 Plugins) and copy the downoaded SC3Plugins folder in Extension folder
  37.  
  38. - SuperDirt
  39. As stated in Tidal setup guide:
  40. - run uperCollider IDE,
  41. - copy following command
  42. Quarks.checkForUpdates({Quarks.install("SuperDirt", "v1.7.3"); thisProcess.recompile()})
  43. - move cursor on line and run with Ctrl+Enter
  44.  
  45. - Haskell
  46. From PowerShell (as admin)
  47. PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; try { Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true } catch { Write-Error $_ }
  48. Answers to questions: all default
  49.  
  50. -- GHC/CABAL
  51. Haskell script installs version ghc 9.2.5.
  52. To upgrade, close/open PowerShell and run
  53. PS C:\Windows\system32> ghcup install ghc 9.4.4
  54. PS C:\Windows\system32> ghcup install cabal 3.8.1.0
  55. PS C:\Windows\system32> ghcup set ghc 9.4.4
  56. PS C:\Windows\system32> ghcup set cabal 3.8.1.0
  57. Check everything is all right
  58. PS C:\Windows\system32> ghci --version
  59. The Glorious Glasgow Haskell Compilation System, version 9.4.4
  60. PS C:\Windows\system32> cabal --version
  61. cabal-install version 3.8.1.0
  62. compiled using version 3.8.1.0 of the Cabal library
  63.  
  64. -- TIDAL
  65. From PowerShell, install Tidal
  66. PS C:\Windows\system32> cabal update
  67. PS C:\Windows\system32> cabal v1-install tidal-1.9.3
  68.  
  69. -- PULSAR EDITOR
  70. Download and install last Regular release
  71. https://pulsar-edit.dev/download.html#regular-releases
  72. Open Pulsar editor, then Packages->Open Package Manager->Install
  73. Search and install tidalcycles package
  74. (got a C/C++ compilation error the first time. Reinstalled tidal-1.9.3 with cabal (did it becuase I thought maybe it will install the plugin. Don't know if it's actually needed) and reinstalled Pulsar package without problems. Also updated to last version 4.0.0)
  75.  
  76. -- DONE!
  77. All software/packages are installed!
  78. Follow https://tidalcycles.org/docs/getting-started/tidal_start to start playing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement