-
Notifications
You must be signed in to change notification settings - Fork 833
Add elixir-lang.org/install.sh and install.bat #1778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
install.markdown
Outdated
$ sh install.sh [email protected] [email protected] | ||
$ installs_dir=$HOME/.elixir-install/installs | ||
$ export PATH=$installs_dir/otp/27.1.2/bin:$PATH | ||
$ export PATH=$installs_dir/elixir/1.17.3-otp-27/bin:$PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we tell people to add these three lines to their bash profile or similar? Or maybe the install message already does? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment we have this:
$ sh install.sh
checking OTP... 27 ok
checking Elixir... 1.17.3 ok
Run this (or add to your ~/.bashrc or similar file):
export PATH=$HOME/.elixir-install/installs/otp/27.1.2/bin:$PATH
export PATH=$HOME/.elixir-install/installs/elixir/1.17.3-otp-27/bin:$PATH
$
> C:\Mac\Home\Desktop\install.bat
checking OTP... 27 ok
checking Elixir... 1.17.3 ok
If you are using powershell, run this (or add to your $PROFILE):
$env:PATH = "$env:USERPROFILE\.elixir-install\installs\otp\27.1.2\bin;$env:PATH"
$env:PATH = "$env:USERPROFILE\.elixir-install\installs\elixir\1.17.3-otp-27\bin;$env:PATH"
If you are using cmd, run this:
set PATH=%USERPROFILE%\.elixir-install\installs\otp\27.1.2\bin;%PATH%
set PATH=%USERPROFILE%\.elixir-install\installs\elixir\1.17.3-otp-27\bin;%PATH%
>
install.markdown
Outdated
$ sh install.sh [email protected] [email protected] | ||
$ installs_dir=$HOME/.elixir-install/installs | ||
$ export PATH=$installs_dir/otp/27.1.2/bin:$PATH | ||
$ export PATH=$installs_dir/elixir/1.17.3-otp-27/bin:$PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets automate these steps based on the versions in elixir-versions.yml
Co-authored-by: José Valim <[email protected]>
4a63b6f
to
30ad1bd
Compare
💚 💙 💜 💛 ❤️ |
Ref: https://groups.google.com/g/elixir-lang-core/c/J-qZonSYNLE