Created
June 27, 2017 06:15
-
-
Save dariuszparys/30368ae68ceb359db090bb7a9ee0a395 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 ZSH | |
sudo apt install zsh | |
# Install oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# edit ~/.bashrc add as first command | |
bash -c zsh | |
# install nvm | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash | |
# modify .zshrc | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# install node e.g. 6.11.0 | |
nvm install 6.11.0 | |
nvm use 6.11.0 --default | |
# install .NET Core | |
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list' | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893 | |
sudo apt-get update | |
// takes a while.... | |
sudo apt-get install dotnet-dev-1.0.4 | |
dotnet --version | |
# install gvm | |
# prerequisites | |
sudo apt-get install binutils bison gcc make | |
# installation | |
zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
# install Go | |
# You'll need 1.4 to be able to install later than 1.4 | |
gvm install go1.4 -B | |
gvm use go1.4 | |
gvm install go1.8.3 | |
gvm use go1.8.3 --default | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment