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
fern generate --docs # Generate and publish documentation
26
-
27
-
# SDK Development
28
-
fern init # Start new SDK project
29
-
fern check # Validate API definition
30
-
fern generate --preview # Preview SDKs in .preview/ folder
31
-
fern generate # Generate default SDK group
32
-
fern generate --group ts-sdk # Generate specific SDK group
33
-
```
34
-
35
-
<Note>
36
-
The "default SDK group" refers to the group marked as default in your `generators.yml`. Learn more about [default groups](/learn/sdks/introduction/configuration).
37
-
</Note>
38
-
39
-
## Performance Optimization
40
-
41
-
For improved performance, you can install Fern CLI as a local project dependency:
18
+
If you're experiencing network delays with the global installation, working in an environment with limited internet connectivity, or prefer to manage Fern as a project dependency, you can install the CLI locally:
42
19
43
20
<Steps>
44
21
<Steptitle="Install as project dependency">
@@ -53,10 +30,11 @@ npm install fern-api
53
30
54
31
<Steptitle="Update configuration">
55
32
56
-
In your `fern.config.json`, set the version to `*`:
33
+
In your `fern.config.json`, set the version to `*` to use your locally installed version:
57
34
58
-
```json fern.config.json
35
+
```json fern.config.json {3}
59
36
{
37
+
"organization": "your-org",
60
38
"version": "*"
61
39
}
62
40
```
@@ -65,7 +43,7 @@ In your `fern.config.json`, set the version to `*`:
fern generate --docs # Generate and publish documentation
69
+
70
+
# SDK Development
71
+
fern init # Start new SDK project
72
+
fern check # Validate API definition
73
+
fern generate --preview # Preview SDKs in .preview/ folder
74
+
fern generate # Generate default SDK group
75
+
fern generate --group ts-sdk # Generate specific SDK group
76
+
```
77
+
78
+
<Note>
79
+
The "default SDK group" refers to the group marked as default in your `generators.yml`. Learn more about [default groups](/learn/sdks/introduction/configuration).
0 commit comments