Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update instructions to use npx rather than install -g #25

Open
Pomax opened this issue Jan 9, 2021 · 0 comments
Open

update instructions to use npx rather than install -g #25

Pomax opened this issue Jan 9, 2021 · 0 comments

Comments

@Pomax
Copy link

Pomax commented Jan 9, 2021

npx has been part of npm as of v5.2, in mid 2017. and will run any tool that is not installed globally by just fetching it and then running it if not installed locally, or just "running it from the local node_modules" if it is installed, finally making global installs entirely unnecessary.

It would be a good idea to update the instructions to recommend using npx deoptigate app.js without telling folks to install it first, and instead adding a note that npx will prefer deoptigate from the local node module directory if it's been installed as local project dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant