Node.js
check latest
https://github.com/nvm-sh/nvm/releases
As of 2021/1/1, v0.37.2
is the latest, so install v0.37.2
.
Install node
touch ~/.zshrc
cd /tmp
NVMURL=https://rawgit.com/creationix/nvm/v0.37.2/install.sh
wget --no-check-certificate $NVMURL
zsh install.sh
rm -f install.sh
source ~/.zshrc
Check the recommended version. https://nodejs.org/ja/
nvm install 14.15.3
Various installations Required for Erlang https://computingforgeeks.com/how-to-install-latest-erlang-on-ubuntu-linux/
sudo apt-get update
sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt1-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils
sudo apt-get -y install build-essential libncurses5-dev openssl
sudo apt-get install curl git-core
sudo apt-get install openjdk-13-jdk default-jdk
Required for Phoenix
sudo apt-get -y install inotify-tools
Install kerl
cd /tmp
sudo curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
sudo chmod a+x kerl
sudo mv kerl /usr/local/bin
Install Erlang/OTP
kerl list releases
kerl build 23.2 23.2
kerl install 23.2 ~/erlang/23.2
Activate Erlang/OTP
. ~/erlang/23.2/activate
echo 'export PATH="$HOME/erlang/23.2/bin:$PATH"' >> ~/.zshrc
Install kiex
cd /tmp
git clone https://github.com/taylor/kiex.git
cd kiex
./install
source $HOME/.kiex/scripts/kiex
vi ~/.zshrc
~/.zshrc
source $HOME/.kiex/scripts/kiex
Will be added.
Install elixir
kiex install 1.11.2
kiex use 1.11.2 --default
Install Hex and Rebar
mix local.hex --force
mix local.rebar --force
Install Phoenix
mix archive.install hex phx_new 1.5.7
mix phx.new -v
Reference: Elixir/Phoenix Beginner ① 3rd Edition: First Steps (OIAX BOOKS) https://www.amazon.co.jp/exec/obidos/ASIN/B01N2K6UBZ/oiax-22/ref=nosim
Recommended Posts