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 email@example.com:redwoodjs/create-redwood-app.git your-dir-name
README.md files to app versions
Remove the file
.gitignore and change the name of
To do this by command line, use:
rm .gitignore && mv .gitignore.app .gitignore
Remove the file
README.md and change the name of
README.md. To do this by command line, use:
rm README.md && mv README_APP.md README.md
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.
4. Initialize git and add your first commit
git init && git add .
git commit -m 'I rocked the manual bootstrap!'
Outdated as of Redwood v0.24.0
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
Then unpack the file into a directory called
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:
You’re ready to
yarn redwood dev