Skip to content

Commit 2ba7c4f

Browse files
committed
Update Flutter SDK installation guide with detailed Sentry Wizard instructions
1 parent 93ba47e commit 2ba7c4f

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

docs/platforms/dart/guides/flutter/index.mdx

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Select which Sentry features you'd like to install in addition to Error Monitori
3838

3939
Sentry captures data by using an SDK within your application's runtime. These are platform-specific and allow Sentry to have a deep understanding of how your application works.
4040

41-
To install, run `@sentry/wizard`:
41+
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running one of the following commands inside your project directory:
4242

4343
```bash {tabTitle:brew}
4444
brew install getsentry/tools/sentry-wizard && sentry-wizard -i flutter
@@ -48,7 +48,42 @@ brew install getsentry/tools/sentry-wizard && sentry-wizard -i flutter
4848
npx @sentry/wizard@latest -i flutter
4949
```
5050

51-
[Sentry Wizard](https://github.com/getsentry/sentry-wizard) will patch your project accordingly, though you can [set up manually](/platforms/dart/guides/flutter/manual-setup/) if you prefer. You only need to patch the project once. Then you can add the patched files to your version control system.
51+
```bash {tabTitle:macOS (Intel/x64)}
52+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-x64"
53+
curl -L $downloadUrl -o sentry-wizard
54+
chmod +x sentry-wizard
55+
./sentry-wizard -i flutter
56+
```
57+
58+
```bash {tabTitle:macOS (Apple Silicon/arm64)}
59+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-arm64"
60+
curl -L $downloadUrl -o sentry-wizard
61+
chmod +x sentry-wizard
62+
./sentry-wizard -i flutter
63+
```
64+
65+
```bash {tabTitle:Linux (x64)}
66+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-x64"
67+
curl -L $downloadUrl -o sentry-wizard
68+
chmod +x sentry-wizard
69+
./sentry-wizard -i flutter
70+
```
71+
72+
```bash {tabTitle:Linux (arm64)}
73+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-arm64"
74+
curl -L $downloadUrl -o sentry-wizard
75+
chmod +x sentry-wizard
76+
./sentry-wizard -i flutter
77+
```
78+
79+
```powershell {tabTitle:Windows}
80+
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-win-x64.exe"
81+
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
82+
./sentry-wizard.exe -i flutter
83+
```
84+
85+
This will patch your project and configure the SDK. You only need to patch the project once, then you can add the patched files to your version control system.
86+
If you prefer, you can also [set up the SDK manually](/platforms/dart/guides/flutter/manual-setup/) or follow the instructions below to adapt the [configuration](#configure).
5287

5388
<Expandable title="The following tasks will be performed by the Sentry Wizard">
5489

0 commit comments

Comments
 (0)