Skip to content
Comprehensive Erlang Archive Network builder framework
Shell Erlang Vim script
Branch: 2.1
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is the CEAN framework.

Here is minimal instructions to setup a working directory.

1) make sure you have git 1.7 and zsh 4.3 installed   (tested on osx and debian)

      * Install homebrew:
      * brew install git tig
      * apt-get install git-core git-svn git-doc tig zsh
      * pacman -S git tig zsh
      * pkgin in scmgit tig zsh-4.3.10nb2

2) get the cean framework

 there are 3 profile: mini (default), base, full. when bootstraping your working
 directory, you choose which profile you want. mini only contains compiler kernel
 stdlib and few libs. base contains most usefull libs (console). full contains all
 otp libs.

cd $HOME
git clone .cean  ($HOME/.cean is mandatory)
export PATH=$HOME/.cean/bin:$PATH
cean create R16 R16B03-1 base
if it complains about missing dependencies you will not use, just force install
cean force create R16 R16B03-1 base
cean shell R16

 note: you can check generated archives into

3) let's build yaws package and install it in workdir
R16B03-1: > package yaws
R16B03-1: > ls src/yaws
R16B03-1: > ls pub/src/yaws
R16B03-1: > ls pub/bin/linux-x86_64/R16/yaws
R16B03-1: > src/otp
R16B03-1:otp:tags/OTP_R16B03-1^0(OTP_R16B03-1): ?>
R16B03-1:otp:tags/OTP_R16B03-1^0(OTP_R16B03-1): ?> cdr
R16B03-1: >
R16B03-1: > erl
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.4  (abort with ^G)
1> cean:is_installed(yaws).
2> q().

4) let's check what are available commands, get help for one of them and try
R16B03-1> help
R16B03-1> help package/depends
R16B03-1> package/depends yaws

4) exit the cean shell (ctrl+d)

5) create a new base working environement
cean create anotherR16 R16B03-1 full
cean shell anotherR16

6) build all Erlang OTP packages
R16B03-1> package otp

7) check packages
R16B03-1> package/list
R16B03-1> package/search web

--- you don't like the prompt ?

look at ~/.cean/themes
send me any contribution for inclusion

--- found an issue ?

christophe dot romain at process-one dot net
You can’t perform that action at this time.