nodejs.dev
nodejs.dev copied to clipboard
Add winget commands in install tabs
Summary
Microsoft recently launched version 1.0 of its official package manager Winget, and we can install node by simply running winget install node
.
We can also install nvs
through winget install nvs
if that's what we're preferring.
Should this be added into the install tabs on the homepage alongside choco?
@bnb Should we add this? Is it still in a preview state?
AFAIK they're pulling Node.js - we're not pushing it. For this site right now, we can include it but before this is prod nodejs.org we'd want to be publishing it with their manifest creator.
See also https://github.com/nodejs/node/issues/38877 / https://github.com/nodejs/node/pull/34014 / https://github.com/nodejs/admin/issues/535
AFAIK they're pulling Node.js - we're not pushing it. For this site right now, we can include it but before this is prod nodejs.org we'd want to be publishing it with their manifest creator.
Do we? We don't, for example, push Node.js packages to any of the Linux distributions nor any other package manager (e.g. brew).
AFAIK they're pulling Node.js - we're not pushing it. For this site right now, we can include it but before this is prod nodejs.org we'd want to be publishing it with their manifest creator.
I think there are already manifests for almost every version of Nodejs in there under the OpenJS organization.
@manishprivet WDYT, does it make sense to add it to the Package Manager section of the website?
@ovflowd , I think a package manager section will be helpful.
As of right now, we're using choco right on top alongside windows, which shows that we prefer that over winget
, which is the first-party tool. If we stand on that ground, then I guess that's fine.
Another fact supporting replacement of choco to winget
on the site is that even nvs
now has winget
as the preferred choice for installation (https://github.com/jasongin/nvs#windows)
Alternatively, we have a generic installation method for windows as well (https://github.com/coreybutler/nvm-windows).
@manishprivet I discovered we already have a package manager section ;D
But we can definitely add winget to the section 👀
This one can be closed as we already have winget https://nodejs.dev/en/download/package-manager#alternatives-3