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

Use npx rather than npm global install? #122

Open
ColinEberhardt opened this issue Apr 27, 2021 · 3 comments
Open

Use npx rather than npm global install? #122

ColinEberhardt opened this issue Apr 27, 2021 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@ColinEberhardt
Copy link

Rather than globally installing AssemblyScript:

$ npm install -g assemblyscript
$ asinit wasi-hello-world
$ cd wasi-hello-world

Would it be better to use npx instead?

$ npx -p assemblyscript asinit wasi-hello-world
$ cd wasi-hello-world
@torch2424 torch2424 self-assigned this Apr 27, 2021
@torch2424 torch2424 added the question Further information is requested label Apr 27, 2021
@torch2424
Copy link
Owner

Yo! Thanks for the issue @ColinEberhardt 😄

Hmmmmm that's an interesting point! I've always just installed it globally, and have preferred it 🙃

But! If you think that'd probably be best practice to encourage newcomers to do, than I am happy to change it 😄

@ColinEberhardt
Copy link
Author

I think npx makes more sense for people who might be trying this out for fun, or just experimenting.

@torch2424
Copy link
Owner

@ColinEberhardt Sounds good to me! 😄 I'll go ahead and open up a PR to fix this once I get the change 😄 Thanks dude!

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

No branches or pull requests

2 participants