Last active
April 12, 2017 02:50
-
-
Save peteroid/2bed882b13727972f44f114d6b4aee4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install nvm for node and npm | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash | |
# reload nvm | |
export NVM_DIR="/home/ec2-user/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
# install node 7 | |
nvm install 7 | |
# show size and file count in the current directory | |
echo "$(du -h) with $(ls | wc -l) files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment