Skip to content

feat: add node bin #550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged

feat: add node bin #550

merged 1 commit into from
Apr 14, 2025

Conversation

nobkd
Copy link
Collaborator

@nobkd nobkd commented Apr 8, 2025

Makes it way easier to run nue with node on Windows.
On Windows, there's no simple symlink to the cli.js file, but shell scripts, because windows doesn't support shebang AFAIK.
Therefore, you currently have to go into shell scripts (located at where.exe nue) and modify the executable from bun to node.
This is way harder than to simply installing nuekit, and deciding to use one of two commands, directly determining the JS runtime.


So available commands would be nue using bun and nue-node using node.

Note

We can also change the command nue-node to sth shorter, like nnue (for node nue)

@nobkd nobkd marked this pull request as ready for review April 8, 2025 00:58
@nobkd nobkd requested a review from tipiirai April 8, 2025 04:03
@tipiirai tipiirai merged commit 9924489 into nuejs:master Apr 14, 2025
4 checks passed
@nobkd nobkd deleted the feat/add-node-bin branch April 14, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants