Skip to content

Commit

Permalink
Changed Uninstall framing
Browse files Browse the repository at this point in the history
  • Loading branch information
atsansone committed Jan 17, 2024
1 parent f54e29a commit 9c63367
Show file tree
Hide file tree
Showing 13 changed files with 62 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/_data/sidenav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
permalink: /release/breaking-changes
- title: Compatibility policy
permalink: /release/compatibility-policy
- divider
- title: Uninstall Flutter
permalink: /get-started/uninstall

- title: Samples & codelabs
children:
Expand Down
10 changes: 10 additions & 0 deletions src/_includes/docs/install/next-steps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Manage your Flutter SDK

To learn more about managing your Flutter SDK install,
check out the following resources.

* [Upgrade Flutter][upgrade]
* [Uninstall Flutter][uninstall]

[upgrade]: /release/upgrade
[uninstall]: /get-started/uninstall?tab={{os | downcase}}
2 changes: 1 addition & 1 deletion src/_includes/docs/install/reqs/macos/base.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% assign target = include.target %}
{% assign os = include.os %}

## System requirements
## Verify system requirements

To install and run Flutter,
your {{os}} environment must meet these requirements:
Expand Down
Empty file.
33 changes: 33 additions & 0 deletions src/_includes/docs/install/reqs/windows/unset-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% assign terminal=include.terminal %}

### Remove Flutter from your Windows PATH variable
{:.no_toc}

To remove Flutter commands from {{terminal}},
remove Flutter to the `PATH` environment variable.

1. Press <kbd>Windows</kbd> + <kbd>S</kbd>.

1. Type `environment`.

1. When **Edit the system environment variables** displays
as the **Best match**, click **Open** under
**Edit the system environment variables**.

1. Click **About**.

1. Click **Advanced System Settings**.

1. Click **Environment Variables...**

The **Environment Variables** dialog displays.

1. Under **User variables for \<user\>** check for the **Path** entry.

{:type="a"}
1. If the entry exists, click **Delete**.

1. Click **OK**.

1. To enable these changes,
close and reopen any existing command prompts and {{terminal}} instances.
2 changes: 2 additions & 0 deletions src/get-started/install/macos/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ next:
{% include docs/install/compiler/xcode.md target='desktop' os='macOS' -%}

{% include docs/install/flutter-doctor.md target='desktop' os='macOS' platform='desktop' compiler='Xcode' -%}

{% include docs/install/next-steps.md os='macOS' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/macos/mobile-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ next:
{% include docs/install/compiler/android.md target='mobile-android' os='macOS' -%}

{% include docs/install/flutter-doctor.md target='mobile-android' os='macOS' compiler='Android Studio' -%}

{% include docs/install/next-steps.md os='macOS' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/macos/mobile-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ next:
{% include docs/install/compiler/xcode.md target='mobile-ios' os='macOS' -%}

{% include docs/install/flutter-doctor.md target='mobile-ios' os='macOS' compiler='Xcode' -%}

{% include docs/install/next-steps.md os='macOS' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/macos/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ next:
{% include docs/install/flutter-sdk.md target='web' os='macOS' terminal='Terminal' -%}

{% include docs/install/flutter-doctor.md target='web' os='macOS' -%}

{% include docs/install/next-steps.md os='macOS' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/windows/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ next:
{% include docs/install/flutter-sdk.md target='desktop' os='Windows' terminal='PowerShell' -%}

{% include docs/install/flutter-doctor.md target='desktop' os='Windows' platform='desktop' compiler='Visual Studio' -%}

{% include docs/install/next-steps.md os='Windows' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/windows/mobile.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ next:
{% include docs/install/compiler/android.md target='mobile' os='Windows' -%}

{% include docs/install/flutter-doctor.md target='mobile' os='Windows' compiler='Android Studio' -%}

{% include docs/install/next-steps.md os='Windows' -%}
2 changes: 2 additions & 0 deletions src/get-started/install/windows/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ next:
{% include docs/install/flutter-sdk.md target='web' os='Windows' terminal='PowerShell' -%}

{% include docs/install/flutter-doctor.md target='web' os='Windows' -%}

{% include docs/install/next-steps.md os='Windows' -%}
4 changes: 4 additions & 0 deletions src/get-started/uninstall/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ remove the `.pub-cache` directory from your home directory.
{{rm-pub-dir | strip}}
```

{% if os=='Windows' -%}
{% include docs/install/reqs/{{os | downcase}}/unset-path.md terminal=terminal -%}
{% endif %}

</div>

{% endfor -%}
Expand Down

0 comments on commit 9c63367

Please sign in to comment.