{"id":19821094,"url":"https://github.com/agc93/dnvm","last_synced_at":"2026-04-10T02:10:47.359Z","repository":{"id":80573079,"uuid":"111620539","full_name":"agc93/dnvm","owner":"agc93","description":"A simple utility using Docker to recreate the magical SDK-switching abilities of the dnvm command","archived":false,"fork":false,"pushed_at":"2019-10-22T15:04:37.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T08:33:02.707Z","etag":null,"topics":["bash","docker","dotnet","dotnet-core"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agc93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-22T01:19:48.000Z","updated_at":"2019-10-22T15:04:39.000Z","dependencies_parsed_at":"2023-03-01T13:30:46.631Z","dependency_job_id":null,"html_url":"https://github.com/agc93/dnvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agc93%2Fdnvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agc93%2Fdnvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agc93%2Fdnvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agc93%2Fdnvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agc93","download_url":"https://codeload.github.com/agc93/dnvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241176623,"owners_count":19922732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","docker","dotnet","dotnet-core"],"created_at":"2024-11-12T10:25:44.605Z","updated_at":"2025-12-31T01:10:34.001Z","avatar_url":"https://github.com/agc93.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dnvm\n\n\u003e PowerShell version is currently outdated and most likely not working. Updates coming.\n\nA simple utility using Docker to recreate the magical SDK-switching abilities of the dnvm command\n\nVersions are provided for Bash and Powershell (both versions should work on both Windows and *nix). Not tested on macOS.\n\n\u003e **NOTE**: This is not intended to be a replacement for the [`dotnet`](https://github.com/faniereynders/dotnet-sdk-helpers) [`sdk`](https://github.com/ivanstamenic/dotnet-sdk-helpers/blob/master/dotnet-sdk) commands for example. This will not manipulate your local SDKs and will spin up new containers every time it's run.\n\n## Examples\n\n```bash\ndnvm -?\n```\n\n```powershell\nget-help ./dnvm\n```\n\nDisplays command help. This includes the full set of options and arguments.\n\n```bash\ndnvm\n# equivalent to\ndnvm latest\n```\n\nImmediately start a temporary container in the current directory using the `latest` tag. Note that we won't \"re-pull\" the image if you already have it locally.\n\n```bash\ndnvm 3.0\n```\n\nImmediately start in the current directory using the `3.0` SDK.\n\n```bash\ndnvm -i runtime 2.2\n```\n\nImmediately start in the current directory using the *runtime-only* 2.2 image.\n\n```bash\ndnvm -l\n```\n\n```powershell\ndnvm -ListTags\n```\n\nLists available tags, instead of starting a container.\n\n## Known gotchas\n\nSince we `rm` the container immediately after we finish, you can sometimes end up with a bunch of \"dangling\" volumes over time. Clean them up with something like `docker images -q -f dangling=true | xargs -r docker rmi` or `,@(docker images -q -f dangling=true) | %{\u0026 docker rmi $_}`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagc93%2Fdnvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagc93%2Fdnvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagc93%2Fdnvm/lists"}