Skip to content

Instantly share code, notes, and snippets.

@ryan1234

ryan1234/install-dnx.txt

Last active Sep 20, 2015
Embed
What would you like to do?
export DNX_VERSION=1.0.0-beta7
export DNX_USER_HOME=/opt/dnx
mkdir -p /opt/dnx
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh && dnvm install $DNX_VERSION -a default && dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"
export PATH=$PATH:$DNX_USER_HOME/runtimes/default/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.