Operating system and version: MacOS X El Capital, v 10.11.6
nvm debug output:
nvm --version: v0.33.0
$SHELL: /bin/bash
$HOME: /Users/macuser
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
nvm current: v6.10.0
which node: $NVM_DIR/versions/node/v6.10.0/bin/node
which iojs:
which npm: $NVM_DIR/versions/node/v6.10.0/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v6.10.0
npm root -g: $NVM_DIR/versions/node/v6.10.0/lib/node_modules
nvm ls output:
How did you install nvm? (e.g. install script in readme, homebrew):
Install script
What steps did you perform?
What happened?
What did you expect to happen?
Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?
curl -I --compressed -v https://nodejs.org/dist/ print out?
This is the information about the folder I'm talking about:
MacBook-Air-2013-MM:.cache macuser$ pwd
/Users/macuser/.nvm/.cache
MacBook-Air-2013-MM:.cache macuser$ du -ksh *
19M bin
1.8G src
MacBook-Air-2013-MM:.cache macuser$ cd src/
MacBook-Air-2013-MM:src macuser$ du -ksh *
1.8G node-v6.10.0
MacBook-Air-2013-MM:src macuser$ cd node-v6.10.0/
MacBook-Air-2013-MM:node-v6.10.0 macuser$ du -ksh *
1.7G files
25M node-v6.10.0.tar.gz
MacBook-Air-2013-MM:node-v6.10.0 macuser$
Is there something I could delete to free space on my machine?
Quite safe! You can run nvm cache clear to clear it.
Thank you @ljharb it works great, there isn't space consumed by .cache folder now.
Most helpful comment
Quite safe! You can run
nvm cache clearto clear it.