How do I use nvm these days? In the past, this package exposed nvm
command I could freely use.
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.73 |
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 (492)
- 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)
- superconductor (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)
- tsr-bridge (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)
Nowaker commented on 2020-09-04 18:38 (UTC)
tomwadley commented on 2020-02-09 22:20 (UTC)
@FranklinYu The reason I kept them separate is because install-nvm-exec
feel a little more "controversial" to me. I can imagine some people explicitly not wanting install-nvm-exec
to run as it modifies your home directory...
(not much mind you - it just creates ~/.nvm and puts some symlinks there)
But you're right that if users want to avoid install-nvm-exec
they would also be avoiding init-nvm.sh
as well.... so maybe keeping them separate is silly.
But the need to do that really highlights the way in which nvm was not designed to be packaged via a system package manager like pacman. The "official" way to install it is via their install.sh
script which makes way more drastic changes to your home directory! (edits ~/.bashrc etc.)
FranklinYu commented on 2020-02-06 07:29 (UTC)
Do you think it makes sense to merge install-nvm-exec
into init-nvm.sh
? Both scripts are very short.
tomwadley commented on 2019-09-22 15:04 (UTC)
Thanks for the heads-up @donsmith - I've updated the url.
donsmith commented on 2019-09-22 04:38 (UTC)
@tomwadley, just a heads-up for your next update. The nvm repo has moved to https://github.com/nvm-sh/nvm. Obviously this has not broken this package - just letting you know.
I was confused about it until I went back in the commits and verified that the same repo used to belong to Tim (creationx) and has been removed from its old location.
tomwadley commented on 2019-03-25 13:37 (UTC)
Thanks for the tip @jamespharvey20. I wasn't aware of SRCDEST. Fixed.
jamespharvey20 commented on 2019-03-25 09:06 (UTC)
Downloaded source filenames must be unique, for those who set SRCDEST in /etc/makepkg.conf. See https://wiki.archlinux.org/index.php/PKGBUILD#source
Please add something like this to the beginning of source
:
source=("${pkgname}-${pkgver}.zip::https...
tomwadley commented on 2019-03-17 17:53 (UTC)
@joshsteele21 You shouldn't have to change any permissions or use sudo. And you're sourcing (as opposed to executing) init-nvm.sh
right? Have you previously tried to install nvm the "official" way from their readme? There could be some sort of conflict going on there.
jost21 commented on 2019-03-08 02:26 (UTC) (edited on 2019-03-08 17:50 (UTC) by jost21)
Installation and running the init-nvm.sh script works fine, but running nvm install node does not work because of permission denied errors. Using sudo does not recognize the nvm command (sudo: nvm: command not found)
EDIT: Do I need to manually change the permissions on /usr/share/nvm ?
FranklinYu commented on 2019-02-10 16:55 (UTC) (edited on 2019-02-10 22:18 (UTC) by FranklinYu)
@bobpaul Actually NVM is not designed to be used in script, IIUC. Please notify those project owners that nvm-exec
is the correct tool for non-interactive use. Or is there any example for us to have a look?
EDIT: please forgive my innocence and ignore the comment above. Official suggestion is to use nvm exec
which expects nvm.sh
to be in $NVM_DIR
.
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.