Title: Import-Module should support nupkg files · Issue #7259 · PowerShell/PowerShell · GitHub
Open Graph Title: Import-Module should support nupkg files · Issue #7259 · PowerShell/PowerShell
X Title: Import-Module should support nupkg files · Issue #7259 · PowerShell/PowerShell
Description: The goal here is for manual module install instructions to just be: Put the .nupkg file in your PSModulePath This seems like an obvious next step in the ease-of-use story for cross-platform modules. PowerShell should inherently support n...
Open Graph Description: The goal here is for manual module install instructions to just be: Put the .nupkg file in your PSModulePath This seems like an obvious next step in the ease-of-use story for cross-platform modules...
X Description: The goal here is for manual module install instructions to just be: Put the .nupkg file in your PSModulePath This seems like an obvious next step in the ease-of-use story for cross-platform modules...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7259
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Import-Module should support nupkg files","articleBody":"The goal here is for manual module install instructions to just be:\r\n\r\n> Put the .nupkg file in your PSModulePath\r\n\r\nThis seems like an obvious next step in the ease-of-use story for cross-platform modules. PowerShell should inherently support nupkg files similar to the way the `dotnet` and `msbuild` systems do: dynamically unpacking and loading **the platform-appropriate files** on demand, keeping the whole module (all platforms) on disk in the .nupkg file.\r\n\r\nNot only would this reduce the disk space needed for modules that are installed but infrequently used, it would make installing modules via sneaker-net so much easier: no need to manually figure out the folder paths! No more explaining that...\r\n\r\n> the module file has to be in a sub-directory of a folder that's in your PSModulePath, but the sub-directory name has to _exactly_ match the psd1 file name (without the extension), and it might have an extra sub-directory with a number, but in that case, it has to _exactly_ match the version number that's _inside_ the psd1...\r\n\r\nBonus points if you implement it with .nupkg and also .psmodule so that we can implement file-type association for \"install\" in Windows (i.e. if you download a .psmodule and double-click, PowerShell will put it in your user scope location).\r\n\r\nNOTE: support for nupkg files should consider existing requests regarding assembly dependencies, including #3901 and #6642 ","author":{"url":"https://github.com/Jaykul","@type":"Person","name":"Jaykul"},"datePublished":"2018-07-10T17:37:06Z","url":"https://github.com/PowerShell/PowerShell/issues/7259"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7ede4707-9a14-fbbc-f410-828f8e410781 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1C6:30AF58:280B9A3:37AB534:6AFD47F4 |
| html-safe-nonce | 6000424055ba50acac25835e9374102ccd76e307fb731a228f7c0e833cf10bbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUM2OjMwQUY1ODoyODBCOUEzOjM3QUI1MzQ6NkFGRDQ3RjQiLCJ2aXNpdG9yX2lkIjoiMzEwMjU5MjgzNzc4NzQwNDI3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f89fc203d1228f1bb444b613a4fa772b20faa5b6af9d8fba11a6ccf53edadf53 |
| hovercard-subject-tag | issue:339940956 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/7259/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20c8bacd6fdf8be849d414491440d080d8a69031a21530b0fc6beb81be9bd087/PowerShell/PowerShell/issues/7259 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20c8bacd6fdf8be849d414491440d080d8a69031a21530b0fc6beb81be9bd087/PowerShell/PowerShell/issues/7259 |
| og:image:alt | The goal here is for manual module install instructions to just be: Put the .nupkg file in your PSModulePath This seems like an obvious next step in the ease-of-use story for cross-platform modules... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Jaykul |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width