Skip to content

Feature Request: nvm binary #3257

Open
Open
@svarlitskiy

Description

@svarlitskiy

Feature Request: nvm binary

  1. Allow install script to install to global directory /usr/share/nvm
  2. Create a shell script that runs the nvm command like an executable /usr/bin/nvm
#!/bin/bash

export NVM_DIR="/usr/share/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

nvm $@

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions