clear-flutter-env
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese清除 Flutter 环境变量 (macOS)
Clear Flutter Environment Variables (macOS)
概述
Overview
此技能允许用户在 macOS 平台上快速清除 和 两个环境变量。这在切换 Flutter 镜像源或重置开发环境时非常有用。
FLUTTER_STORAGE_BASE_URLPUB_HOSTED_URLThis skill allows users to quickly clear the two environment variables and on the macOS platform. This is very useful when switching Flutter mirror sources or resetting the development environment.
FLUTTER_STORAGE_BASE_URLPUB_HOSTED_URL核心任务
Core Tasks
清除环境变量
Clear Environment Variables
用户可以直接请求清除 Flutter 相关的环境变量。该操作将执行以下命令:
bash
unset FLUTTER_STORAGE_BASE_URL
unset PUB_HOSTED_URLUsers can directly request to clear Flutter-related environment variables. This operation will execute the following commands:
bash
unset FLUTTER_STORAGE_BASE_URL
unset PUB_HOSTED_URL资源
Resources
scripts/
scripts/
- : 执行
clear_flutter_env.sh命令的 Shell 脚本。unset
- : Shell script that executes the
clear_flutter_env.shcommands.unset
如何使用
How to Use
- 直接执行: 告知用户执行以下命令:
bash
unset FLUTTER_STORAGE_BASE_URL unset PUB_HOSTED_URL - 运行脚本: 如果需要,可以运行提供的脚本:
./scripts/clear_flutter_env.sh
- Direct Execution: Instruct users to run the following commands:
bash
unset FLUTTER_STORAGE_BASE_URL unset PUB_HOSTED_URL - Run the Script: If needed, you can run the provided script:
./scripts/clear_flutter_env.sh