Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Basics (retired) First Steps in React Our First Application

Aleks Stepancic
Aleks Stepancic
19,547 Points

How to install react on desktop?

I don't want to use Workspace, so can anyone tell me how to install it on desktop, with babel and jsx

2 Answers

Stuart Wright
Stuart Wright
41,118 Points

There is a workshop about setting up a React app on your local machine:

https://teamtreehouse.com/library/using-create-react-app

It assumes that you already have npm installed, a package manager which can be used to install Create React App. Here are some Treehouse blogs on installing npm (choose the correct one for your operating system):

http://blog.teamtreehouse.com/install-node-js-npm-mac http://blog.teamtreehouse.com/install-node-js-npm-windows http://blog.teamtreehouse.com/install-node-js-npm-linux

Kayla Johnson
Kayla Johnson
482 Points

That workshop is helpful but you'd think in a series called React Basics, they would go over how to set it up on your machine..

Bradley Maravalli
Bradley Maravalli
8,927 Points

Not to be snarky, be you can always take CDN links of React, copy & paste them into your file, and call it a day. No installations needed.