Hyper: How do I use the new hyper cli to install plugins and themes?

Created on 17 Apr 2018  路  18Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate

Issue


How do I use the new hyper cli to install plugins and themes?

When I try the command hyper, it is not available in the path. I tried running hyper i <plugin name> from within the folder containing Hyper.exe, but it just opened another terminal instance in the already opened terminal.

It said on the blog that this command came bundled with version 2.0.0. Would appreciate some information on how to use it.

Thanks 馃拹

鈱笍 CLI tool Windows

Most helpful comment

Hey Guys, You Might Want to run hyper as administrator and then try re-installing the plugin. It should definitely work

All 18 comments

Have you tried rebooting your PC? 馃槉
I think this is a duplicate of https://github.com/zeit/hyper/issues/2823

How did it not come up in the search >_>

Anyway, it's not even a matter of path variable. If I run hyper i someplugin like I wrote, a new terminal is opened inside the current terminal, instead of running the install command.

Can you try reinstalling hyper (wipe every hyper.exe you can find)? 馃 Might be that you have two different versions running.

Already tried that :(

@stereokai Are you trying to install plugin from WSL?

Nope. I was trying to run the command from a Powershell instance of Hyper

Same problem on windows.

Hey Guys, You Might Want to run hyper as administrator and then try re-installing the plugin. It should definitely work

thanks @hacktivist123 that really helped!

My pleasure @AtariVSega

@albinekb rebooting did work but maybe there should be a visual warning at some point in the installation process or a prompt asking to reboot.

I have a similar issue on linux, my setup is:

Installed hyper through the AppImage
When I try to install a plugin it just starts another instance of hyper

Tried rebooting already

I am running on Solus

This happened to me - it means that your PATH variable is directed to "%appdata%/local/", but it needs to be set to "%appdata%/local/appXXX/Localhyper\app-2.1.2\resources\binhyper.cmd" in order for it to accept command line options

If you install hyper from the AUR in Arch Linux, the executable you need to use is /usr/lib/hyper/resources/bin/hyper

@stereokai You don't need to restart your system, just run Hyper as an administrator and run the command you are trying to, that worked for me.

Run as administrator is not a friendly solution, why should a simple npm install (that's what hyper plugins are after all) require admin privilege to install?

Happened to me too.

Still happening when I'm launching Hyper in root (either by adding "zensu" in front of the command from the launcher or by trying to launch Hyper myself with a term, always with "zensu" ofc).

If someone have an idea, I'm taking it :)

In the meantime I'll dig where I can.

Edit : I "installed" Hyper with an AppImage file.

I tried the latest build, Hyper-3.1.0-canary.4.AppImage, and it didn't work, but differently (it wants --no-sandbox now when being launch with sudo, and it write more text when launching a new hyper term when I'm typing "hyper i")

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cooperpellaton picture cooperpellaton  路  3Comments

sarneeh picture sarneeh  路  3Comments

hxnt picture hxnt  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

laur1s picture laur1s  路  3Comments