Get started
Get started
You have a project on your computer, and you want it on TanStack Source. At the end of this page, your code is on the forge and you have a pull request open.
4 min read
You need:
- Git.
- Node.js 22 or later, for the
srcCLI.
1. Make an account
Open Sign up. Sign up with a password, or with one of the sign-in providers that the page shows.
If you sign up with a password, Source sends a verify link to your address. Open it to get invitations and security emails. See Get email for important events.
Important
A new account joins the waitlist when you first sign in. Redeem an invite or wait for approval before you continue. Get approved and invite someone has the steps.
After approval, onboarding opens on your dashboard. It can bring your GitHub repositories, your organizations, your profile and your stars, then it gives you a tour. See Import your work and take the tour. To push a project from your computer, continue with step 2.
2. Install the CLI
src is the CLI of TanStack Source. It has the commands of gh.
On macOS, Linux, or Git Bash on Windows:
curl -fsSL https://source.tanstack.com/install | sh
In Windows PowerShell:
irm https://source.tanstack.com/install.ps1 | iex
In a terminal, the script then offers to set up your coding agents. It gives them the TanStack Source skill and the instructions to use src. Then open a new terminal. Install and set up the CLI has the details.
Tip
Do you work with a coding agent? Paste the prompt of Set up your coding agent into it instead. The agent installs src, sets up your agents and logs you in. Then skip to step 4.
3. Log in
src auth login
- The command prints a one-time code. Press Enter to open the browser.
- Type the code, click Continue, then click Approve.
Then let git push and git clone use the same login, and make sure that the login works:
src auth setup-git
src auth status
4. Make a repository and push
In the folder of your project, run:
src repo create my-app --private
git remote add origin https://source.tanstack.com/@<your-username>/my-app.git
git push -u origin main
src repo create prints the URL of the new repository.
- Use
--publicfor a public repository. - To give it topics, add
--topiconce for each topic, for example--topic cli --topic database.
Warning
If git push fails with HTTP 413, the push is too large for one request. Push it with src repo push.
Browser and git URLs start with /@owner. The @ is part of the URL, not of the username, and you can leave it out: /owner/my-app opens the same repository.

Or start in the browser
Open New repository, fill in the name, and click Create repository. The Code menu of the repository shows its clone URL.

The form has more optional fields:
- Topics: up to 10 topics, separated by commas or spaces. A topic has lowercase letters, numbers and hyphens.
- .gitignore template: under the field, the form shows the patterns of the template that you pick.
- License: under the field, the form shows what the license Permits, Requires and Forbids.

5. Open a pull request
git switch -c first-change
echo "Hello from TanStack Source" >> README.md
git commit -am "docs: say hello"
git push -u origin first-change
src pr create --fill
src pr create prints the URL of the pull request. Open it to see the change, comment on a line, and merge.

Done
Your code is on the forge, and you have a pull request. Run src browse to open the repository in your browser.
To clone a large repository from the forge, see Clone a large repository fast. A partial clone gets the files of your branch first, and the old versions only when a command needs them.
Next, connect your coding agent, so that it can work on this repository. Or add CI, so that each pull request shows a green check.