You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(examples): move links outside code blocks in basic README
Markdown links inside fenced code blocks are rendered as raw text
instead of clickable links. Move the 'global turbo' and filter links
outside the code blocks so they render correctly when the starter
README is copied to a new project.
Closes#11945
To develop all apps and packages, run the following command:
66
74
67
-
```
68
-
cd my-turborepo
75
+
With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended):
69
76
70
-
# With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended)
77
+
```sh
78
+
cd my-turborepo
71
79
turbo dev
80
+
```
72
81
73
-
# Without [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation), use your package manager
82
+
Without global `turbo`, use your package manager:
83
+
84
+
```sh
85
+
cd my-turborepo
74
86
npx turbo dev
75
87
yarn exec turbo dev
76
88
pnpm exec turbo dev
77
89
```
78
90
79
91
You can develop a specific package by using a [filter](https://turborepo.dev/docs/crafting-your-repository/running-tasks#using-filters):
80
92
81
-
```
82
-
# With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended)
93
+
With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed:
94
+
95
+
```sh
83
96
turbo dev --filter=web
97
+
```
98
+
99
+
Without global `turbo`:
84
100
85
-
# Without [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation), use your package manager
101
+
```sh
86
102
npx turbo dev --filter=web
87
103
yarn exec turbo dev --filter=web
88
104
pnpm exec turbo dev --filter=web
@@ -97,13 +113,17 @@ Turborepo can use a technique known as [Remote Caching](https://turborepo.dev/do
97
113
98
114
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup?utm_source=turborepo-examples), then enter the following commands:
99
115
100
-
```
101
-
cd my-turborepo
116
+
With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended):
102
117
103
-
# With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended)
118
+
```sh
119
+
cd my-turborepo
104
120
turbo login
121
+
```
122
+
123
+
Without global `turbo`, use your package manager:
105
124
106
-
# Without [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation), use your package manager
125
+
```sh
126
+
cd my-turborepo
107
127
npx turbo login
108
128
yarn exec turbo login
109
129
pnpm exec turbo login
@@ -113,11 +133,15 @@ This will authenticate the Turborepo CLI with your [Vercel account](https://verc
113
133
114
134
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:
115
135
116
-
```
117
-
# With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed (recommended)
136
+
With [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation) installed:
137
+
138
+
```sh
118
139
turbo link
140
+
```
119
141
120
-
# Without [global `turbo`](https://turborepo.dev/docs/getting-started/installation#global-installation), use your package manager
0 commit comments