Skip to content

[Tools]: Proposal to remove cd . command if flutter create . command is run. #100588

Closed

Description

@asashour

On running flutter create ., there is a message:

In order to run your application, type:

  $ cd .
  $ flutter run

I suggest that if the directory is ., then the whole $ cd . is not shown.

flutter doctor -v
[√] Flutter (Channel master, 2.13.0-0.0.pre.194, on Microsoft Windows [Version 10.0.19042.1466], locale en-US)
    • Flutter version 2.13.0-0.0.pre.194 at C:\use\flutter
    • Upstream repository https://github.com/asashour/flutter.git
    • Framework revision b8f0dde0f8 (14 hours ago), 2022-03-22 03:45:11 -0400
    • Engine revision 0dd12c9f1e
    • Dart version 2.17.0 (build 2.17.0-224.0.dev)
    • DevTools version 2.11.4

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\ahmed_ashour\AppData\Local\Android\Sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_SDK_ROOT = C:\Users\ahmed_ashour\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.2.1
    • Flutter plugin version 65.2.4
    • Dart plugin version 213.7227

[√] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 221.3427.89
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 221.3427.93

[√] VS Code (version 1.65.2)
    • VS Code at C:\Users\ahmed_ashour\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.36.0

[√] Connected device (4 available)
    • SM A505FN (mobile) • R58MA65MFJF • android-arm64  • Android 11 (API 30)
    • Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [Version 10.0.19042.1466]
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 99.0.4844.82
    • Edge (web)         • edge        • web-javascript • Microsoft Edge 99.0.1150.39

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Activity

  1. darshankawar commented on Mar 23, 2022

    @darshankawar
    Member

    Thanks for the report. Labeling this as a proposal.

    /cc @christopherfujino

  2. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    c: proposalA detailed proposal for a change to Flutter
    and removed
    in triagePresently being triaged by the triage team
    on Mar 23, 2022
  3. changed the title [-]Redundant command[/-] [+][Tools]: Proposal to remove `cd .` command if `flutter create .` command is run.[/+] on Mar 23, 2022
  4. added
    P3Issues that are less important to the Flutter project
    on Mar 23, 2022
  5. christopherfujino commented on Mar 23, 2022

    @christopherfujino
    Contributor

    Sounds reasonable :)

  6. added
    tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.
    on Jul 11, 2025
  7. self-assigned this
    on Jul 11, 2025
  8. added
    r: fixedIssue is closed as already fixed in a newer version
    on Jul 23, 2025
  9. github-actions commented on Aug 6, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  10. locked as resolved and limited conversation to collaborators on Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions