@Lacrymology I'm having trouble reproducing your problem. "nvm ls-remote" and "nvm help" work for me. Does it work if you install nvm via the "official" upstream instructions at https://github.com/creationix/nvm ? In other words, is the package broken, or is something else wrong?
Search Criteria
Package Details: nvm 0.40.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/nvm.git (read-only, click to copy) |
---|---|
Package Base: | nvm |
Description: | Node Version Manager - Simple bash script to manage multiple active node.js versions |
Upstream URL: | https://github.com/nvm-sh/nvm |
Licenses: | MIT |
Submitter: | tomwadley |
Maintainer: | tomwadley |
Last Packager: | tomwadley |
Votes: | 298 |
Popularity: | 5.85 |
First Submitted: | 2015-03-14 21:57 (UTC) |
Last Updated: | 2024-08-27 22:35 (UTC) |
Dependencies (1)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR) (optional) – bash completion
Required by (490)
- aero-browser (make)
- aero-browser-git (make)
- agendapp (make)
- ai-browser-git (make)
- ai-gate (make)
- ai-writer (make)
- aihub (make)
- aihub-git (make)
- akuse (make)
- akuse-git (make)
- alpaca-electron-git (make)
- alpha-badger (make)
- altus (make)
- android-toolkit (make)
- android-toolkit-git (make)
- animestream-git (make)
- another-redis-desktop-manager-git (make)
- antares-sql (make)
- antares-sql-git (make)
- any-sync-gui (make)
- apple-music-desktop (make)
- apple-music-electron-git (make)
- aquaquill-git (make)
- atlassify-git (make)
- autocut-client (make)
- autorecord-manager (make)
- awakened-poe-trade-git (make)
- baiduwenku-bin (make)
- baize-toolbox-git (make)
- bazecor-git (make)
- bdash-git (make)
- bear-graph (make)
- beekeeper-studio-git (make)
- before-dawn (make)
- before-dawn-git (make)
- behavior3editor-git (make)
- bettersoundcloud (make)
- bilibili (make)
- bilibili-linux-git (make)
- bilive-danmaku-git (make)
- blinker-git (make)
- bonbon-browser-git (make)
- bookord-git (make)
- boson-git (make)
- bot.dev (make)
- bruno (make)
- bruno-electron (make)
- bruno-git (make)
- buttercup-desktop-git (make)
- bytebackup-git (make)
- caprine-ng-git (make)
- catcat-dm-react (make)
- cerebro-git (make)
- cgdi (make)
- chatall (make)
- chatall-git (make)
- chatbox-git (make)
- chatd (make)
- cherry-studio-git (make)
- chromium-pdfjs-git (make)
- cider (make)
- cinematic-git (make)
- claude-desktop (make)
- cocomusic (make)
- codefuse-ide-git (make)
- commas (make)
- commas-git (make)
- companion (make)
- cpod (make)
- cpod-git (make)
- crankshaft-client-git (make)
- craze (make)
- creamplayer (make)
- cro-chain-desktop (make)
- cryptique-git (make)
- cycode (make)
- dartsmate-git (make)
- dash-player-git (make)
- datcom-jitsi-meet-electron (make)
- datefile (make)
- dbd-icon-toolbox-git (make)
- dbgate-git (make)
- deadboltplusplus (make)
- devkitty (make)
- devkitty-git (make)
- dhis2-downloader-git (make)
- dialogcraft (make)
- dilidili-git (make)
- discord-netflix (make)
- discord-netflix-git (make)
- dnd-overlay-tool-git (make)
- docspedia-git (make)
- doomguy-git (make)
- dopamine-git (make)
- drawio-desktop-git (make)
- droppoint-git (make)
- dust-mail-client-git (make)
- easy-player (make)
- elecap-git (make)
- electerm (make)
- electerm-git (make)
- electron-devdocs-git (make)
- electron-gpt-git (make)
- electron-music (make)
- electron-music-player (make)
- electron-netease-cloud-music-git (make)
- electron-pdf-viewer-git (make)
- electron-s3-file-manager (make)
- electron-widgets-git (make)
- electronmail (make)
- elemental-notes-git (make)
- elements-latex (make)
- elephicon (make)
- elevate-git (make)
- epub-reader (make)
- escrcpy (make)
- etcher-git (make)
- everytime (make)
- excel-parser-processor-git (make)
- favicon-generator (make)
- fchat-rising (make)
- ferdium (make)
- ferdium-git (make)
- ferdium-nightly (make)
- ffbox (make)
- ffbox-git (make)
- figma-linux-git (make)
- filen-desktop-git (make)
- finance-manager-git (make)
- fishing-funds-git (make)
- flashpoint-launcher (make)
- flexplayer (make)
- flexplayer-git (make)
- flowtestai-git (make)
- fluent-reader-git (make)
- focustune-git (make)
- follow (make)
- follow-git (make)
- fotoluks-manager-git (make)
- frame-eth (make)
- frame-eth-canary-git (make)
- frame-eth-dev (make)
- frame-eth-git (make)
- franz (make)
- franz-wayland (make)
- freecord-git (make)
- freedomgpt-git (make)
- frontimer (make)
- fsolauncher (make)
- fx_cast (make)
- gb-studio-git (make)
- gchat (make)
- gemini-desktop-git (make)
- geratron-git (make)
- ghost-chat (make)
- ghost-chat-git (make)
- giopic-git (make)
- git-it-electron-git (make)
- github-desktop-git (make)
- gitify (make)
- gmail-desktop-git (make)
- gnome-shell-extension-pano-git (make)
- gnome-shell-extension-tilingshell (make)
- godmode (make)
- godspeed-git (make)
- gomoon-git (make)
- google-calender-widget (make)
- google-chat-linux (make)
- gridview-git (make)
- gui-butler (make)
- gy-music-player-git (make)
- hackerpad-git (make)
- hawkpass-git (make)
- headermaker-git (make)
- hex-music-player (make)
- hexopress (make)
- hexopress-git (make)
- hihat (make)
- hihat-git (make)
- hiregpt (make)
- horen (make)
- horen-git (make)
- httptoolkit (make)
- httptoolkit-git (make)
- hugin-messenger (make)
- hype (make)
- hyper-git (make)
- i5sing (make)
- iceborne (make)
- icxor-git (make)
- ih8rtcgui (make)
- image-stitching-git (make)
- image2pattern-git (make)
- imfile (make)
- imfile-git (make)
- inkdown (make)
- inkdown-git (make)
- insomnia (make)
- insomnia-electron (make)
- insomnia-git (make)
- insomnium (make)
- insomnium-git (make)
- iptvorg-epg (make)
- issie (make)
- ivpn-ui (make)
- jitsi-meet-desktop (make)
- jitsi-meet-desktop-git (make)
- jlivertool (make)
- joy-xtream-player-git (make)
- justwrite-git (make)
- kanbanflow-app-git (make)
- keep-audio-alive-git (make)
- keeweb-git (make)
- knowte (make)
- knowte-git (make)
- kuro-git (make)
- lanzouyun-pan (make)
- leavepad (make)
- leavepad-git (make)
- ledger-live (make)
- ledger-live-git (make)
- leser-git (make)
- less-player-git (make)
- liquidprompt (optional)
- listen1-desktop-git (make)
- live2d-kanban-desktop (make)
- lobe-chat
- local-llama-git (make)
- logseq-desktop (make)
- loopy-desktop (make)
- losslesscut-git (make)
- lost-dutchman-mine-git (make)
- lynxhub (make)
- lynxhub-git (make)
- macchatgpt (make)
- mailspring-git (make)
- manyi-transformer (make)
- map-download-git (make)
- masscode-git (make)
- mattermost-plugin-onlyoffice (make)
- media-player-electron-git (make)
- mediago-git (make)
- medis-git (make)
- melt-mdeditor-git (make)
- memos (make)
- memos-git (make)
- metamask-chromium (make)
- metamask-firefox (make)
- metamask-google-chrome (make)
- meteor-todo-desktop (make)
- midi2.0-workbench-git (make)
- miru-git (make)
- miru-viewer-git (make)
- miteiru (make)
- miuzcpc-git (make)
- mkeditor-git (make)
- mkfont (make)
- mockoon (make)
- mockoon-git (make)
- monokle (make)
- motrix-git (make)
- mqttx-git (make)
- mrcode (make)
- mrcode-git (make)
- ms-365-electron (make)
- mu-epub-viewer-git (make)
- muffon-git (make)
- mullvad-vpn (make)
- mullvad-vpn-beta (make)
- musicfree-desktop (make)
- musicfree-desktop-git (make)
- mustang (make)
- mustang-git (make)
- mxiv-git (make)
- net-player (make)
- netron-git (make)
- newpad-git (make)
- node-toolkit-git (make)
- nora-git (make)
- note-mark-git (make)
- notely-git (make)
- notesnook (make)
- notesnook-git (make)
- notesphere-git (make)
- novel-tree-desktop-git (make)
- nuclear-player (make)
- nudge (make)
- nvm-desktop (make)
- nvm-desktop-git (make)
- octa-electron (make)
- oneplay-git (make)
- onlook-git (make)
- ooniprobe-desktop (make)
- opencomic (make)
- orca-writer (make)
- out-of-mind-git (make)
- outdated-snake-git (make)
- overlay-spirit-git (make)
- overlayed (make)
- overlayed-git (make)
- overvue-git (make)
- own3d-desktop-git (make)
- owntracks-frontend (make)
- palletone-git (make)
- parseit-git (make)
- passbox (make)
- pear-rec (make)
- pear-rec-git (make)
- peershare (make)
- perplexity-ai-app (make)
- perrito-ws (make)
- perrito-ws-git (make)
- petal (make)
- pharmaspot-git (make)
- photo-location-map (make)
- picgo-git (make)
- pikatorrent-git (make)
- pinac-workspace-git (make)
- pip-player-git (make)
- plexamp-headless
- pocketyoutube-git (make)
- podman-desktop-git (make)
- poi-git (make)
- polybase-git (make)
- pomotro (make)
- postybirb (make)
- postybirb-git (make)
- postybirb-plus (make)
- pot-translation-git (make)
- prospect-mail (make)
- proton-mail-viewer (make)
- proxy-manager-git (make)
- publii-git (make)
- quassel-webserver-git (make)
- quicknote (make)
- quicknote-git (make)
- r3playx-git (make)
- rainbow-bridge-git (make)
- rancher-desktop (make)
- rancher-desktop-git (make)
- random-browser-git (make)
- realm-studio-git (make)
- redisinsight (make)
- redisinsight-git (make)
- renovate-git (make)
- requestly-git (make)
- responsively-git (make)
- revezone (make)
- revolt-desktop (make)
- revolt-desktop-git (make)
- ringer-client-desktop (make)
- rocketchat-desktop-git (make)
- rocketchat-server-standalone (make)
- rotorflight-blackbox
- rotorflight-configurator
- round-drop-git (make)
- rstudio-desktop (make)
- rubick (make)
- sabaki-git (make)
- saberfy (make)
- safe-browser (make)
- safe-mail-tutorial (make)
- salesforce2sql-git (make)
- salvage-git (make)
- schildichat-desktop (make)
- schildichat-desktop-git (make)
- scratch3 (make)
- screen-recorder-app (make)
- scriptorium-git (make)
- select-launcher-git (make)
- session-desktop (make)
- session-desktop-git (make)
- seven-waves (make)
- seven-waves-git (make)
- sharing-gui (make)
- sigma-file-manager-git (make)
- simple-music (make)
- simple-music-git (make)
- simplest-file-renamer-git (make)
- siyuan (make)
- siyuan-git (make)
- slacky-git (make)
- smpl-git (make)
- snapmaker-luban (make)
- snippet-notes (make)
- snsdeck (make)
- sonixd (make)
- soundcloud-rpc-git (make)
- spine-viewer-git (make)
- splayer-git (make)
- spotbar (make)
- spx-translation (make)
- sqlite3-page-explorer-git (make)
- sqltabs-bin (optional)
- stage-retriever (make)
- standardnotes-desktop (make)
- storyboarder (make)
- stretchly (make)
- stretchly-git (make)
- stretchly-xeruf-git (make)
- sunbible (make)
- super-controller (make)
- swarm-desktop (make)
- switchhosts-git (make)
- tagspaces (make)
- tailchat-desktop (make)
- tauview-git (make)
- textspace-git (make)
- the-password-manager-git (make)
- thorium-reader (make)
- thorium-reader-git (make)
- threatbrowser-git (make)
- tidgi-desktop-git (make)
- tiny-rdm (make)
- tiny-rdm-git (make)
- tithree (make)
- todometer-git (make)
- torepe-git (make)
- touche (make)
- tts-vue (make)
- turbowarp-desktop-git (make)
- tutanota-desktop (make)
- tyrogit-client-git (make)
- udeler (make)
- udeler-git (make)
- ueli (make)
- ueli-git (make)
- uivonim-git (make)
- unoffical-wallhaven-desktop-git (make)
- upscayl-git (make)
- vagrant-manager-git (make)
- vdhcoapp (make)
- vdhcoapp-git (make)
- vega-video-editor (make)
- vivify (make)
- vivify-git (make)
- vlsm-interfacing-git (make)
- vnite-git (make)
- vnstat-client-git (make)
- vocallia-git (make)
- vrc-photo-viewer-git (make)
- vscodium (make)
- vscodium-electron (make)
- vscodium-git (make)
- vscodium-insiders (make)
- vscodium-translucent (make)
- wai-chat-desktop (make)
- waveterm (make)
- waveterm-git (make)
- wavy-git (make)
- weakauras-companion (make)
- weakauras-companion-git (make)
- web-hosting-manager (make)
- webcam-glass-git (make)
- webp-converter-git (make)
- webs-tray-git (make)
- webtorrent-desktop-git (make)
- whalebird-git (make)
- whatsapp-desktop-client-git (make)
- wire-desktop-git (make)
- witsy (make)
- witsy-git (make)
- wj-markdown-editor-git (make)
- woocommerce-pos (make)
- wora-git (make)
- wordpress-studio-git (make)
- work-log-ify-git (make)
- wpspaster (make)
- wrkspace-git (make)
- wubi-dict-editor (make)
- wx-read (make)
- xc-music-git (make)
- xilinota-git (make)
- yank-note (make)
- yank-note-git (make)
- yaste-git (make)
- yesplaymusic-git (make)
- youtube-downloader-git (make)
- ytdesk-git (make)
- ytdl-desktop (make)
- ytm-dlp-gui (make)
- ytmdesktop (make)
- ytmdesktop-git (make)
- zenshin-git (make)
- zerochess-git (make)
- zulip-desktop (make)
- zulip-desktop-git (make)
- zxinfo-file-browser-git (make)
- zyfun-git (make)
- zyplayer-git (make)
Sources (3)
tomwadley commented on 2016-05-19 21:58 (UTC)
Lacrymology commented on 2016-05-19 20:02 (UTC)
ls-remote doesn't seem to exist, and nvm-help isn't there either.
22:01 $ nvm ls-remote
module.js:440
throw err;
^
Error: Cannot find module './nvm-help'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/node_modules/nvm/bin/nvm:24:3)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
isaacaggrey commented on 2016-03-11 19:55 (UTC)
Thanks for the quick response @tomwadley! Works great on my end.
tomwadley commented on 2016-03-11 19:47 (UTC)
Thanks @isaacaggrey - well spotted. I've pushed a new package version which should fix this. It should just work if you're sourcing init-nvm.sh. Otherwise you can add this new line to your .bashrc:
source /usr/share/nvm/install-nvm-exec
install-nvm-exec is a script which installs a wrapper around nvm-exec into your $NVM_DIR. Its a bit of hack but it should work. At the moment I can't think of a better way without patching upstream's nvm.sh.
isaacaggrey commented on 2016-03-11 17:53 (UTC) (edited on 2016-03-11 17:56 (UTC) by isaacaggrey)
`nvm exec` does not work. Is this working for other people?
The PKGBUILD doesn't install `nvm-exec` from the repo, but then the issue is
that nvm expects it in a certain place (more or less, assumes everything is
in $HOME/.nvm).
tomwadley commented on 2016-02-19 14:34 (UTC)
@Rulatir The post_install prints out some instructions which you may have missed. I'll paste them below:
You need to source nvm before you can use it. Do one of the following
or similar depending on your shell (and then restart your shell):
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zprofile
You can now install node.js versions (e.g. nvm install 5.0) and
activate them (e.g. nvm use 5.0). You may want to activate your
preferred node.js version in your .bashrc (or similar) after
sourcing init-nvm.sh.
init-nvm.sh is a convenience script which does the following:
export NVM_DIR="$HOME/.nvm"
source /usr/share/nvm/nvm.sh
source /usr/share/nvm/bash_completion
You may wish to customize and put these lines directly in your
.bashrc (or similar) if, for example, you would like an NVM_DIR
other than ~/.nvm or you don't want bash completion.
See the nvm readme for more information: https://github.com/creationix/nvm
Rulatir commented on 2016-02-19 14:28 (UTC)
No executable in the package? Instructions at nvm's github say the usage should be simply:
nvm [arguments]
However this package does not contain /usr/bin/nvm. How do I use this?
Pinned Comments
tomwadley commented on 2020-09-04 22:14 (UTC) (edited on 2020-09-04 22:15 (UTC) by tomwadley)
Due to the way nvm is designed, you have to source it before you can use it:
You will probably want that in your shell startup file, e.g.:
See nvm.install or the upstream README for more details.