Skip to content

2dog update ​

Sets the project's 2dog package versions to the running tool's, and restores after project changes. Never downgrades. When Git can check the project, it refuses uncommitted tracked-file changes unless you pass --allow-dirty.

bash
2dog update [path] [options]
ArgumentMeaning
pathDirectory containing project.godot; defaults to the current directory

Options ​

OptionEffect
--dry-runPrint the plan; change nothing
--no-restoreSkip the final dotnet restore
--allow-dirtyProceed despite uncommitted tracked-file changes
--install-wasm-toolsInstall missing wasm-tools for browser hosts
--install-android-workloadInstall the missing android workload for Android hosts
--update-workloadsInstall missing workloads the hosts need, then run dotnet workload update for the project's SDK

Plus the global and output options. There is no --to: pin the tool instead.

Package updates need no workloads or Android SDK. For browser or Android hosts, terminals can offer to update workloads; dotnet workload update updates all installed workloads for the SDK. --no-restore skips the offer, and --dry-run never touches workloads.

Examples ​

bash
2dog update                            # here, after committing
2dog update path/to/project --dry-run  # show what would change
dnx 2dog@4.7.2.127 update         # a specific tool version

2dog is Free and Libre Open Source under the MIT License.
2dog is not affiliated with or endorsed by the Godot Foundation.
Godot is licensed under the MIT License. @icons made by Voxy under the MIT License.
Continuous Integration compute graciously supported by RunsOn.