Odoo Help


9 Answers

Ermin Trevisan

--Ermin Trevisan--
| 7 6 9
Walchwil, Switzerland
--Ermin Trevisan--

Ermin Trevisan
2015/03/23 5:34

After fiddling around and not exactly knowing why some ways worked and others not, I believe the following instructions are quite fool-proof. I have successfully tested it on an Amazon EC2 Ubuntu instance as non-Root user.

The NodeJS and NPM packages in the Ubuntu 14.04 repository can not be used because they are outdated.

Follow the instructions from the NodeJS Website:

  • curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash -

  • sudo apt-get install -y nodejs

  • sudo npm install -g npm  (to update npm)

Then install Less and accessories:

  • sudo npm install -g less less-plugin-clean-css

1 Comment
Raaj Mishra
2017/01/24 2:01

Hi Ermin,It works wonderfully,thanks for such a great answer.


For ubuntu 16.04: 

curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
then everything indicated by Erwin Travisan (Thanks!)

Purnendu Singh
2016/06/09 8:07

There are various way to do that.

Please refer following link



Atul Kumar jain

--Atul Kumar jain--
| 5 3 9
Indore, India
--Atul Kumar jain--


Atul Kumar jain
2015/03/23 6:28

Ubuntu 14.04 contains a version of Node.js in its default repositories that can be used to easily provide a consistent experience across multiple servers. The version in the repositories is 0.10.25. This will not be the latest version, but it should be quite stable.

sudo apt-get update

sudo apt-get install nodejs

sudo apt-get install npm

you can test node by typing "node " on terminal

1. node

2. node --version


Ermin Trevisan
2015/03/24 5:26

The versions from the ubuntu repository seemed not to work for me with the new odoo website themes. The way I have proposed works for sure.

2015/10/07 11:07

Just run this " npm install less@1.5 -g " on your terminal all your problem of less css will be solved

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now