upd post-clone

This commit is contained in:
Feruz 2018-12-16 20:31:20 +02:00
parent d11b8ec717
commit 218d75d939

View File

@ -1,10 +1,6 @@
#!/bin/sh
# please specify required Node.js version
NODE_VERSION=8.12.0
# workaround to override the v8 alias
npm config delete prefix
. ~/.bashrc
nvm install "$NODE_VERSION"
nvm alias node8 "$NODE_VERSION"
#!/usr/bin/env bash
set -ex
brew uninstall node@6
NODE_VERSION="8.12.0"
curl "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.pkg" > "$HOME/Downloads/node-installer.pkg"
sudo installer -store -pkg "$HOME/Downloads/node-installer.pkg" -target "/"