You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
On Linux, NodeJS developers manage local NodeJS instances through nvm-sh/nvm at https://github.com/nvm-sh/nvm . The role of nvm-sh/nvm in the NodeJS world is somewhat similar to the role of SDKMAN! in the Java world.
Making graalnodejs-community available in nvm-sh/nvm and coreybutler/nvm-windows will help developers update graalnodejs-community in an easy way, just like switching GraalVM versions via SDKMAN!.
The effect might look like this.
For bash on Ubuntu 22.04.3
cd /tmp
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source~/.bashrc
nvm install 23.1.2-graalnodejs-community
nvm use 23.1.2-graalnodejs-community
For Windows PowerShell 5.1 or PowerShell 7 with elevated Admin permissions on Windows 11
Describe who do you think will benefit the most.
GraalVM users, GraalVM contributors, developers of libraries and frameworks which depend on GraalVM, or somebody else?
developers of libraries and frameworks which depend on NodeJS.
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
As described in Extremely slow NPM actions on WSL2 #2390, npm for graalnodejs-community seems to be a reimplementation. In the NodeJS world, changing the package manager is not through nvm-sh/nvm or coreybutler/nvm-windows, but through nodejs/corepack. I'm not sure if the community needs to add graalnodejs-community support at https://github.com/nodejs/corepack .
It sounds like installing normal NodeJS first.
cd /tmp
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source~/.bashrc
nvm install 18
nvm use 18
corepack enable
Then set packageManager in package.json of a specific project.
@TheTaha-Alamine I saw you self-assigned the current issue and I was wondering if there was any progress? Because graalnodejs-community seems to have the same issue as oven-sh/bun, there isn't a non-rate-limited URL for listing all its available versions. Refer to maybe even support bun.js? nvm-sh/nvm#3189 .
Feature request
Please include the following information:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
Describe the solution you'd like.
A clear and concise description of what you want to happen.
Make graalnodejs-community available in
nvm-sh/nvm
andcoreybutler/nvm-windows
.It is mentioned at https://github.com/oracle/graaljs?tab=readme-ov-file#standalone-distribution that the way to install graalnodejs-community is to download the
Standalone Distribution
binary through github. But in fact, this is not a common practice for NodeJS developers.On Linux, NodeJS developers manage local NodeJS instances through
nvm-sh/nvm
at https://github.com/nvm-sh/nvm . The role ofnvm-sh/nvm
in the NodeJS world is somewhat similar to the role ofSDKMAN!
in the Java world.On Windows, NodeJS developers manage local NodeJS instances through
coreybutler/nvm-windows
at https://github.com/coreybutler/nvm-windows .coreybutler/nvm-windows
uses syntax similar tonvm-sh/nvm
to makenvm
available on Windows. Microsoft considers it the default recommended multi-version NodeJS manager, refer to https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows .Making graalnodejs-community available in
nvm-sh/nvm
andcoreybutler/nvm-windows
will help developers update graalnodejs-community in an easy way, just like switchingGraalVM
versions viaSDKMAN!
.The effect might look like this.
Describe who do you think will benefit the most.
GraalVM users, GraalVM contributors, developers of libraries and frameworks which depend on GraalVM, or somebody else?
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
As described in Extremely slow NPM actions on WSL2 #2390, npm for graalnodejs-community seems to be a reimplementation. In the NodeJS world, changing the package manager is not through
nvm-sh/nvm
orcoreybutler/nvm-windows
, but throughnodejs/corepack
. I'm not sure if the community needs to add graalnodejs-community support at https://github.com/nodejs/corepack .It sounds like installing normal NodeJS first.
packageManager
inpackage.json
of a specific project.Additional context.
Add any other context about the feature request here.
For example, link to the relevant projects, documentation, standards.
Express whether you'd like to help contributing this feature
If you'd like to contribute, please read the contribution guide.
The text was updated successfully, but these errors were encountered: