toolsetup:listinginstalledpackages
Listing installed packages using stack
- displays the currently installed packages
- for each of the databases known to ghc-pkg
- includes the global database
- user’s local database
- command line:
stack exec ghc-pkg -- list
- example of an output:
C:\...\stack\x86_64-windows\ghc-8.10.4\lib\package.conf.d Cabal-3.2.1.0 Win32-2.6.1.0 array-0.5.4.0 base-4.14.1.0 binary-0.8.8.0 bytestring-0.10.12.0 containers-0.6.2.1 deepseq-1.4.4.0 directory-1.3.6.0 exceptions-0.10.4 filepath-1.4.2.1 (ghc-8.10.4) ghc-boot-8.10.4 ghc-boot-th-8.10.4 ghc-compact-0.1.0.0 ghc-heap-8.10.4 ghc-prim-0.6.1 ghci-8.10.4 haskeline-0.8.0.1 hpc-0.6.1.0 integer-gmp-1.0.3.0 libiserv-8.10.4 mtl-2.2.2 parsec-3.1.14.0 pretty-1.1.3.6 process-1.6.9.0 rts-1.0 stm-2.5.0.0 template-haskell-2.16.0.0 text-1.2.4.1 time-1.9.3 transformers-0.5.6.2 xhtml-3000.2.2.1 C:\...\pkgdb HUnit-1.6.1.0 ansi-terminal-0.10.3 call-stack-0.2.0 colour-2.3.5 extensible-exceptions-0.1.1.4 hostname-1.0 mintty-0.1.2 old-locale-1.0.0.7 random-1.1 regex-base-0.94.0.1 splitmix-0.1.0.3 xml-1.3.14 C:\...\.stack-work\install\...\pkgdb (no packages)
✎
You could leave a comment if you were logged in.
toolsetup/listinginstalledpackages.txt · Last modified: by 127.0.0.1
