Skip to content

odenlang/oden_install

 
 

Repository files navigation

oden_install

One-line commands to install Oden on your system.

Build Status

Install Latest Version

With Shell:

curl -fsSL https://oden.dallin.pro/install.sh | sh

With PowerShell:

iwr https://oden.dallin.pro/install.ps1 -useb | iex

Install Specific Version

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

Environment Variables

  • 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

Compatibility

Known Issues

unzip is required

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.

Packages

No packages published

Languages

  • PowerShell 58.4%
  • Shell 41.6%