ProjectScaffold
ProjectScaffold copied to clipboard
How do you run Paket (specifically convert-from-nuget) from command line?
I installed paket from nuget with:
Install-Package paket
I then tried to run paket convert-from-nuget. It stalled out on a user prompt (it wouldn't let me type into the package manager console). My next thought was to run it from command line, but how to do so is not documented.
Just putting paket convert-from-nuget into a standard dev command prompt results in an error saying "paket" is not recognized.
How do I run paket from the command line or powershell, and how do you specify which solution to work against?
Associated Stack Overflow question: http://stackoverflow.com/questions/31257207/how-to-use-paket-from-command-line/
If you want to use paket from the commandline you need to have the directory where it lives as part of your path. I keep mine at C:\Tools\paket. When your shell is in the root directory of your repo you can run it with .\.paket\paket.exe (in posh at least). You can also install Paket.PowerShell as one of your posh modules either from nuget or chocolately
Does the http://fsprojects.github.io/Paket/getting-started.html tutorial help? On Aug 9, 2015 22:56, "Jared Hester" [email protected] wrote:
If you want to use paket from the commandline you need to have the directory where it lives as part of your path. I keep mine at C:\Tools\paket. When your shell is in the root directory of your repo you can run it with ..paket\paket.exe (in posh at least). You can also install Paket.PowerShell as one of your posh modules either from nuget https://www.nuget.org/packages/Paket.PowerShell or chocolately https://chocolatey.org/packages/Paket.PowerShell
— Reply to this email directly or view it on GitHub https://github.com/fsprojects/ProjectScaffold/issues/192#issuecomment-129239442 .
@forki, FWIW it helped me.