title: How to install Node.js with Windows PowerShell PackageManager (OneGet)?
body: <p>I tried <code>Install-Package nodejs</code>, which seems to have done something:</p>
  
  <pre><code>PS C:\WINDOWS\system32&gt; Install-Package nodejs
  
  The package(s) come(s) from a package source that is not marked as trusted.
  Are you sure you want to install software from 'chocolatey'?
  [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
  
  Name                           Version          Source           Summary
  ----                           -------          ------           -------
  nodejs.install                 11.10.0          chocolatey       Node JS - Evented I/O for v8 JavaScript.
  nodejs                         11.10.0          chocolatey       Node JS - Evented I/O for v8 JavaScript.
  </code></pre>
  
  <p>Then when I try to run the <code>node</code> command, it fails:</p>
  
  <pre><code>PS C:\WINDOWS\system32&gt; node
  node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
  the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:1
  + node
  + ~~~~
      + CategoryInfo          : ObjectNotFound: (node:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>How do I do it properly with <code>PackageManager</code>, so that the command is then available?</p>
  
  <p>Not sure if this other question is related: <a href="https://stackoverflow.com/questions/31714804/chocolaty-packages-not-installing-via-oneget-packagemanagement-in-windows-10">Chocolaty packages not installing via OneGet/PackageManagement in Windows 10?</a></p>
  
  <p>As that other question suggests, I tried setting <code>Set-ExecutionPolicy Unrestricted</code>, the uninstalling and reinstalling <code>nodejs</code>, but the result is the same.</p>
  
  <p>I do see that after install the following files exist:</p>
  
  <pre><code>C:\Chocolatey\lib\nodejs.11.10.0\nodejs.11.10.0.nupkg
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg\legal\LICENSE.txt
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg\legal\VERIFICATION.txt
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg\tools\chocolateyInstall.ps1
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg\tools\node-v11.10.0-x64.msi
  C:\Chocolatey\lib\nodejs.install.11.10.0.nupkg\nodejs.install.11.10.0.nupkg\tools\node-v11.10.0-x86.msi
  </code></pre>
  
  <p>which makes me think that maybe it expects me to run the installer manually after?</p>
  
  <p>My goal is to simply install anything I need on a new Windows machine from a script, without having to download/install them all manually with GUIs.</p>