Closed matthewadams closed 4 months ago
Hey @matthewadams, I'll look into options to provide this. I'm familiar with pkg, but I'll look into bun's --compile
flag as well.
@matthewadams @cpendery, I made something like this a while ago. Here's the code to build the binaries https://github.com/tnfssc/inshellisense-bin
Just a follow up here, most of the projects like caxa
or pkg
have been deprecated with Node 21's support of sea. node-pty; however, only supports Node 18 officially (with Node 16 & 20 making the cut, but not 21). As a result, there isn't a good solution for building a native executable via Node. Bun might work in the future, but for now, node-pty doesn't support Bun (see https://github.com/microsoft/node-pty/issues/632).
Closing as duplicate of #199
Is your feature request related to a problem? Please describe. I use
asdf
to manage mynode
versions. I want to haveinshellisense
available across all of my versions. As it stands, I have to runnpm install -g @microsoft/inshellisense
for each version ofnode
that I install. It'd be easer if you usedbun
or similar to provide a native executable that I could use independently of my currentnode
runtimes.Describe the solution you'd like I want to be able to run
inshellisense
no matter which version ofnode
that is currently on my path.Describe alternatives you've considered
npx inshellisense
Additional context None.