How do jQuery and Node js
Preparation: Install XCODE and Homebrew
First install XCODE from the app store. XCODE is the Mac OS X development environment. This takes long enough to make coffee or tea.
Then install homebrew:ruby -e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Node.js can also be installed directly, but the installation via the command line uses the sudo command. It takes a little longer, but it is safer and leaves less room for errors.
Please be patient here too.
The installation via the terminal pauses in between and expects the admin password. Then it continues with the download and the installation of the command line tools. The installation ends with==> Next steps: - Run `brew help` to get started - Further documentation: https://docs.brew.sh
Homebrew simplifies the installation of other packages such as GIT, PhoneGap, Ruby or wget.
Now it is time:brew install node
This takes a while. The installation ends with==> node Bash completion has been installed to: /usr/local/etc/bash_completion.d
Check installation withnode -v // e.g. v14.1.0 npm -v // e.g. 6.14.4
Check for updates every now and then withbrew update brew upgrade node
Start servernpm install npm run start
This starts the Nodejs server on port 8080. The server can be reached in the browser with localhost: 8080
- Why does my dog limp after running
- Why is symbolic interactionism important
- How fast can an electric car go?
- How do you meet people at parties
- What were Caligula's last words
- Khadi handloom clothing can be made cheaply
- Where was the Papillon 1973 film shot
- What is the purpose of padded panties
- How analog signal is converted into digital signal
- Where is the cause marketing going in 2011
- Sealing of granite slabs is required
- How is the degeneracy calculated in quantum physics
- How do you deal with your imposter syndrome
- Quora is hosted on Amazon EC2
- What happened to Popular Electronics magazine
- Every animal vomits
- How does exercise affect women's hormones?
- Are muscle spasms dangerous
- How does a hydroponic grow box work
- What factors affect Bangkok's weather in June
- What are some study tips and hacks
- Why is gasoline short
- Can you drive with prism glasses
- Who dies in Black Panther 1