One-line commands to install Oden on your system.
With Shell:
curl -fsSL https://oden.dallin.pro/install.sh | sh
With PowerShell:
iwr https://oden.dallin.pro/install.ps1 -useb | iex
With Shell:
curl -fsSL https://oden.dallin.pro/install.sh | sh -s v1.0.0
With PowerShell:
$v="1.0.0"; iwr https://oden.dallin.pro/install.ps1 -useb | iex
-
ODEN_INSTALL
- The directory in which to install Oden. This defaults to$HOME/.oden
. The executable is placed in$ODEN_INSTALL/bin
. One application of this is a system-wide installation:With Shell (
/usr/local
):curl -fsSL https://oden.dallin.pro/install.sh | sudo ODEN_INSTALL=/usr/local sh
With PowerShell (
C:\Program Files\oden
):# Run as administrator: $env:ODEN_INSTALL = "C:\Program Files\oden" iwr https://oden.dallin.pro/install.ps1 -useb | iex
- The Shell installer can be used on Windows with Windows Subsystem for Linux, MSYS or equivalent set of tools.
The program unzip
is a requirement for the Shell installer.
$ curl -fsSL https://oden.dallin.pro/install.sh | sh
Error: unzip is required to install Oden (see: https://github.com/odenlang/oden_install#unzip-is-required).
When does this issue occur?
During the install.sh
process, unzip
is used to extract the zip archive.
How can this issue be fixed?
You can install unzip via brew install unzip
on MacOS or apt-get install unzip -y
on Linux.