title: What is the path of the nuget package i just installed
body: <p>Given I have just installed the most recent version of a package using nuget (using powershell), outside of a solution or project folder e.g. <code>PS&gt; nuget install octopustools</code> then a directory is created below the current folder, in this case <code>\OctopusTools.4.22.1</code>. </p>
  
  <p>I want to access the exe inside the package that has relative path <code>\OctopusTools.4.22.1\tools\octo.exe</code>. However I want an easy way to know the path in my script because the version number can change based on releases.</p>
  
  <p>Is there easy way to get nuget to tell me the name of the folder it has just installed to, i.e. OctopusTools.4.22.1? </p>
  
  <p>I want to avoid guessing the path based on recursivly scanning folders or hardcoding the version number if possible. The <a href="https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference#install" rel="nofollow noreferrer">docs</a> do not seem to offer anything obvious?</p>