This post covers a simple apporach on how to setup emberjs in unbutu.
This guide assumes that you are using Ubuntu 18.04. Note: Throughout this post, we are gonna install either LTS or latest version of the packages.
First refresh your local pacakge index
sudo apt update
Then copy-paste the following line to install LTS version of nodejs which is 12.14.1 at the time of writing.
curl -sL https://deb.nodesource.com/setup_12.14.1 | sudo -E bash -
sudo apt install -y nodejs
Now type the following line in your terminal to install the npm
sudo apt install npm
NPM helps you with installing and managing nodejs modules.
Now time to check both nodejs and npm are installed successfully or not by typing the following line in your terminal.
we are almost there, now you can install emberjs by using this single line command.
npm install -g ember-cli
Please verify the ember installation by typing this command in your terminal
os: linux x64
If you see the above output in your terminal, Congrats you are succesfully installed Emberjs in your machine.
You can use the following command to create a new ember app.
ember new ember-hello-app
Once its done, now go into the application directory
After couple of seconds you will see the output like below
Livereload server on http://localhost:7020
Serving on http://localhost:4200/
Check the app by opening the url
Hurray!! Now emberjs app is successfully running in your machine. Please leave a comment if you have any issues.
I hope you find this post useful. If you want to see more emberjs related posts give a heart.