Comments (5)
Install-Module devtoolbox
should add it to the $PSModulePath
in which case it should auto-load when first needed...
from devtoolbox.
I wonder if it doesn't because I've got a customized profile.ps1?
from devtoolbox.
Technically you shouldn't need to import the module because PowerShell will do that on your behalf if you try to use one of the registered functions.
from devtoolbox.
We can certainly add a link to the PowerShell Gallery page at
https://www.powershellgallery.com/packages/devtoolbox
, but beyond that, the user needs to addImport-Module devtoolbox
at the top of their profile.ps1.I'd be interested in if there's a better way to install that would automatically add it to the profile. @brettmillerb or @corbob?
the problem you have there is that there are multiple profiles.
I use $Profile.CurrentUserAllHosts
whereas a lot of people just use $Profile
But as @parithon said, it will auto-load the module when you try to use one of the commands as long as you are on PowerShell v3+.
from devtoolbox.
I'm just going to add a section on the README.md that, like @brettmillerb suggested, links to the PowerShell Gallery.
from devtoolbox.
Related Issues (10)
- Task to create initial contributor list HOT 2
- Turn this majestic piece of script into a module HOT 1
- Does not load on PowerShell Core HOT 2
- Pass through "unknown" commands? HOT 1
- Reload command now requires approval and opens new shell HOT 1
- Restore-WorkspacePackages NPM uses --no-save
- Add Git Diff command
- The contributing guide seems to be outdated HOT 2
- Gh command clashes with GitHub cli short command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devtoolbox.