Skip to content

Make vt easier to install and setup #201

@stevekrouse

Description

@stevekrouse

In a recent vt demo, I saw a number of frictions in installing and setting it up:

  1. The first (meta) issue was not knowing it exists. The user clearly wanted it to exist, but just assumed it didn't. I don't know how to solve this problem.
  2. The next issue was that the user had to install Deno, but the user was a Python person who had never heard of Deno, and that was confusing and random to them.
    a. Can we avoid having Deno as a dep somehow?
    b. Clicking out to the Deno install page wasn't ideal. Should we include a recommended Deno install command in our REAMDE? If we need to have a more interactive page that lets you choose mac vs windows vs linus, maybe we move this guide to our docs so it can be dynamic html?
  3. I think we should drop deno install --global --force --reload --allow-read --allow-write --allow-env --allow-net jsr:@valtown/vt from the installation step for clarity. I imagine 90+% of users just want the one install command.
  4. Can we auto-run the authentication dialogue as soon as you install or is that a bad practice?
  5. For shell newbs like me, it is no easy feat to add something to my PATH. How can we help folks with that step or can we skip it?

For reference, I think the vercel CLI is a good model for us. To install:

It's a single command that also exposing it globally.

In theory we could solve most of these issues if we made our CLI npm-installable. Is that a possibility? Are there other solutions in that direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions