![]() ![]() 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. Which makes me think that maybe it expects me to run the installer manually after? Not sure if this other question is related: Chocolaty packages not installing via OneGet/PackageManagement in Windows 10?Īs that other question suggests, I tried setting Set-ExecutionPolicy Unrestricted, the uninstalling and reinstalling nodejs, but the result is the same. How do I do it properly with PackageManager, so that the command is then available? FullyQualifiedErrorId : CommandNotFoundException CategoryInfo : ObjectNotFound: (node:String), CommandNotFoundException The spelling of the name, or if a path was included, verify that the path is correct and try again. Node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Then when I try to run the node command, it fails: PS C:\WINDOWS\system32> node Nodejs 11.10.0 chocolatey Node JS - Evented I/O for v8 JavaScript. Nodejs.install 11.10.0 chocolatey Node JS - Evented I/O for v8 JavaScript. Yes Yes to All No No to All Suspend Help (default is "N"): y The package(s) come(s) from a package source that is not marked as trusted.Īre you sure you want to install software from 'chocolatey'? I tried Install-Package nodejs, which seems to have done something: PS C:\WINDOWS\system32> Install-Package nodejs ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |