Last active
December 5, 2016 06:44
-
-
Save kahwee/39aeb1d903a21388dffbfb0d600b67be to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
cd ~ | |
mkdir -p ~/.npm-global | |
npm config set prefix '~/.npm-global' | |
touch .profile | |
if ! grep '~/.npm-global' ~/.profile | |
then | |
echo 'export PATH=~/.npm-global/bin:$PATH' >> .profile | |
fi | |
source ~/.profile | |
npm i -g @tremorvideo/blink-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment