Code Monkey home page Code Monkey logo

phase-0-macos-env-nodejs's Introduction

Mac NodeJS Install

Install Node Version Manager (NVM)

Node Version Manager (NVM) is a tool that will allow you to download and install multiple versions of Node.js, one of the environments for the JavaScript programming language that we teach at Flatiron School. Installing NVM is the first step in installing Node.js on your MacOS operating system.

Action Item

  1. Open the "Terminal" application using "Spotlight Search"
  2. Type touch ~/.zshrc and press <Enter>
  3. Type curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | zsh and press <Enter>
  4. Close the "Terminal" application
  5. Reopen the "Terminal" application using "Spotlight Search"
  6. Type nvm and press <Enter>

Check Your Work

<iframe width="560" height="315" src="https://www.youtube.com/embed/sRqgMr3AI_s" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

If you see a message ending with "Note: to remove, delete, or uninstall nvm", continue below.

Install Node.js

For our JavaScript labs and lessons, we expect that students use Node.js on their MacOS operating system. If Node Version Manager (NVM) has been successfully installed, you can quickly install Node.js with a couple of commands.

Action Item

  1. Open the "Terminal" application using "Spotlight Search"
  2. Type nvm install --lts and press <Enter>
  3. Type nvm list and press <Enter>

Check Your Work

<iframe width="560" height="315" src="https://www.youtube.com/embed/CXTQW772kNY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

If you see a message starting with "-> v18.17.1" (or any higher number), continue to the next lesson, Installing Python on MacOS.

phase-0-macos-env-nodejs's People

Contributors

ihollander avatar jlboba avatar lizbur10 avatar maxwellbenton avatar timothylevi avatar timothylevi-test avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phase-0-macos-env-nodejs's Issues

Incorrect command

Thanks for raising this issue! Future learners thank you for your diligence. In
order to help the curriculum team address the problem, please use this template
to submit your feedback. We'll work on addressing the issue as soon as we can.

Please fill out as much of the information below as you can (it's ok if you
don't fill out every section). The more context we have, the easier it will be
to fix your issue!

Note: you should only raise issues related to the contents of this lesson.
If you have questions about your code or need help troubleshooting, reach out to
an instructor/your peers.


https://learning.flatironschool.com/courses/4706/pages/mac-nodejs-install?module_item_id=270381

The code
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Suggest your change here. Let us know what section or line of the Readme needs
to be updated, and any proposed corrections. Include the line number(s) if
possible.
this is the code that actually worked for me, and is the code that I see in the video right below
Screen Shot 2021-07-24 at 3 00 08 PM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | zsh

Additional context

With the bash install, when I restarted terminal it wouldn't recognize the "nvm" command, but when I used the zsh install nvm worked

Getting Permission Denied Error When Installing NVM

Canvas Link

https://learning.flatironschool.com/courses/5282/pages/mac-nodejs-install?module_item_id=349365

Concern

Hi Team!

It looks like when I try to execute the command touch ~/.zshrc on my mac, it will pop up with this error message:
touch: /Users/andrew/.zshrc: Permission denied. Is there anything that I can do to enable this? I tried running a sudo command and that didn't seem to fix it.

Additional Context

Screen Shot 2022-03-16 at 6 49 56 PM

Here is a screenshot of the issue!

Suggested Changes

There should be some sort of permission that needs to get sorted out first

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.