How to Manually Bootstrap / Install Create-Redwood-App

These instructions are outdated as of Redwood v0.24. See the “Solution” below for updated instructions.

If you’ve tried yarn create redwood-app my-dir-name and only run into errors despite updating versions and checking prerequisites, there is one more option. You can manually bootstrap your own app. We don’t recommend this path, but we know sometimes you gotta do what you gotta do.

1. Get the latest release of create-redwood-app

Go to redwoodjs/create-redwood-app. Then download and unpack the latest release. You’ll probably want to rename the folder.

You can also clone via git from the master branch (note: the master branch often contains commits not yet in a stable release.)
$ git clone your-dir-name

2. Set .gitignore and files to app versions

Remove the file .gitignore and change the name of to .gitignore.
To do this by command line, use:
$ rm .gitignore && mv .gitignore

Remove the file and change the name of to To do this by command line, use:
$ rm && mv

3. Install packages

Note: if your node and yarn versions don’t meet the requirements in package.json, the installation process will give an error. See the Redwood tutorial for node and yarn upgrade instructions.

$ yarn install

4. Initialize git and add your first commit

$ git init && git add .
$ git commit -m 'I rocked the manual bootstrap!'

1 Like

Outdated as of Redwood v0.24.0

Starting with v0.24.0, the installation template is included in the NPM package create-redwood-app and no longer a separate repo. This means the instructions above no longer apply.

This should resolve any issues. However, if you have any questions or do seem to need help with a manual installation process, please don’t hesitate to ask via a reply.

Manual Installation for v0.24 (or newer)

As of v0.24, the Template codebase is included in the npm package create-redwood-app, which will make it easier for individuals behind a firewall to run the installer.

If for some reason the installation does not run, you can still step through a manual download and install.

Download the NPM Package and Manually Run Installation

First, download a .tgz of the NPM package:

npm pack create-redwood-app

This will download the file create-redwood-app-[current-version].tgz. For this example, I’ll use 0.24.0 for [current-version].

Then unpack the file into a directory called package/:

tar zxvf create-redwood-app-0.24.0.tgz

Move the included Template codebase into a new project directory:

mv package/template path/to/project

Enter the project and run yarn installation:

cd path/to/project
yarn install

You’re ready to yarn redwood dev :rocket: