Skip to content

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

Merged
merged 5 commits into from
Oct 31, 2024

Conversation

wojtekmach
Copy link
Member

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
Copy link
Member

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? 🤔

Copy link
Member Author

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
Comment on lines 27 to 30
$ 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
Copy link
Member

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

@josevalim josevalim merged commit 5ef6c8a into elixir-lang:main Oct 31, 2024
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants