AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Install javascript mac4/22/2023 ![]() So before you write your own solution make sure to check if it is already there on npm. ![]() There are thousands of packages available out there including ORM, router, third party api wrapper … etc. It is like gem for ruby and pear for php. Install npm npm is the most popular package manager for node. # reopen your terminal and do the following $ git clone git:///creationix/nvm.git ~/.nvm Install node.js With the following 2 command you are done with installing node.js, Easy! So basically you can ignore the Install npm step. Also npm now come with node since version 0.6.3 which means you don’t have to install it by yourself. You can switch between node version for development usage. You should try it now.Įdit 8 I’ve found it’s easier to install node through nvm, a node version management system. We are going to need it later for installing node.js and mongoDB. ![]() Install Homebrew Homebrew is my favorite package management system on Mac. Install Xcode What? I just want to code some server side javascript why i need to install the 4.3 GB Xcode 4? Well, you need gcc to compile node.js and other packages. If you use Ubuntu you can check out this post for the instruction. You will find it is much easier not only to install but also update it. ![]() Because node.js is still a pretty young project, it updates frequently. There are several ways to setup a node.js development environment on Mac, you can either choose to download and compile it form source or using a package management system to do the works for you.
0 Comments
Read More
Leave a Reply. |