{"id":24017568,"url":"https://github.com/piraces/dotnex","last_synced_at":"2025-10-12T06:43:16.998Z","repository":{"id":38461141,"uuid":"327132111","full_name":"piraces/dotnex","owner":"piraces","description":"A simple .NET tool to execute other dotnet tools without installing them globally or in a project","archived":false,"fork":false,"pushed_at":"2023-02-22T04:22:25.000Z","size":514,"stargazers_count":12,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T22:03:14.102Z","etag":null,"topics":["cli","cross-platform","dotnet","dotnet-cli","dotnet-tool","dotnet-tools","global","tool"],"latest_commit_sha":null,"homepage":"https://piraces.github.io/dotnex/","language":"C#","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/piraces.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"piraces","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-01-05T22:10:34.000Z","updated_at":"2025-04-08T07:27:08.000Z","dependencies_parsed_at":"2024-11-11T03:52:53.179Z","dependency_job_id":"836de394-c14d-4423-8998-69ec1bf8bfa6","html_url":"https://github.com/piraces/dotnex","commit_stats":null,"previous_names":["piraces/dotnet-tool-run"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piraces%2Fdotnex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piraces%2Fdotnex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piraces%2Fdotnex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piraces%2Fdotnex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piraces","download_url":"https://codeload.github.com/piraces/dotnex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249099383,"owners_count":21212658,"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":["cli","cross-platform","dotnet","dotnet-cli","dotnet-tool","dotnet-tools","global","tool"],"created_at":"2025-01-08T09:41:31.020Z","updated_at":"2025-10-12T06:43:11.924Z","avatar_url":"https://github.com/piraces.png","language":"C#","funding_links":["https://github.com/sponsors/piraces"],"categories":[],"sub_categories":[],"readme":"# dotnex\n\n![.NET Tool Release](https://github.com/piraces/dotnex/workflows/.NET%20Tool%20Release/badge.svg)\n[![.NET Docs publish](https://github.com/piraces/dotnex/actions/workflows/docs.yml/badge.svg)](https://github.com/piraces/dotnex/actions/workflows/docs.yml)\n[![.NET CI](https://github.com/piraces/dotnex/actions/workflows/dotnet-test.yml/badge.svg)](https://github.com/piraces/dotnex/actions/workflows/dotnet-test.yml)\n[![CodeQL](https://github.com/piraces/dotnex/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/piraces/dotnex/actions/workflows/codeql-analysis.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=piraces_dotnex\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=piraces_dotnex)\n\n![Nuget](https://img.shields.io/nuget/v/dotnex)\n\n\nA simple .NET tool to execute other dotnet tools without installing them globally or in a project (a similar approach to [npx](https://www.npmjs.com/package/npx) from [npm](https://www.npmjs.com/)).\n\n[**View in Nuget.org**](https://www.nuget.org/packages/dotnex/)\n\n## About\n\nThis simple tool provides the minimum necessary to run dotnet tools without the need of installing them globally or in a project, since this is not yet supported in dotnet cli.\n\n\n### Features:\n- **Cache**. This tool provides caching of used tools in a temporary directory (for better performance).\n\n- **Version and framework selection**. You can specify whatever version you want and the target framework to use in every run.\n\n- **SourceLink for debugging**. The binaries can be debbuged with [Source Link](https://github.com/dotnet/sourcelink). Example (with Developer Command Prompt for VS): `devenv /debugexe c:\\Users\\rich\\.dotnet\\tools\\dotnex.exe`\n\n- **Symbols package**. A symbols package is published too in the publish process in order to ease the debugging of the NuGet package.\n\n\n## Usage\n```\ndotnex [options] \u003cTOOL\u003e [\u003cTOOL-ARGS\u003e...]\n```\n\nWhere the arguments and options are the following:\n```\nArguments:\n  \u003cTOOL\u003e       The NuGet Package Id of the tool to execute []\n  \u003cTOOL-ARGS\u003e  Arguments to pass to the tool to execute\n\nOptions:\n  -v, --use-version \u003cuse-version\u003e  Version of the tool to use\n  -f, --framework \u003cframework\u003e      Target framework for the tool\n  -r, --remove-cache               Flag to remove the local cache before running the tool (can be run without tool)\n  --version                        Show version information\n  -?, -h, --help                   Show help and usage information\n```\n\nThis same output can be obtained running the tool with the help option:\n```\ndotnex -h\n```\n\nExample with the simple `dotnetsay` tool:\n```\ndotnex dotnetsay Hello World!!\n```\n\n## Installation\n\nInstall the [dotnet cli](https://dotnet.microsoft.com/download) (included in the .NET SDK) and then run the following command:\n\n```\ndotnet tool install -g dotnex\n```\n\n### SDK version\n\n`dotnex` is published for all current supported SDKs from Microsoft:\n- .NET Core 3.1.x\n- .NET 5.0.x\n- .NET 6.0.x\n\nThe main idea is to maintain `dotnex` up-to-date with all current supported SDKs from Microsoft.\n\n## Contributions\n\nFeel free to open an issue or a PR if you want to without any problem :)\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\nSee the `LICENSE` file in the root of this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiraces%2Fdotnex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiraces%2Fdotnex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiraces%2Fdotnex/lists"}