Description
vue-command is a Vue.js terminal emulator component. Its commands are native Vue components rather than plain text mappings, and they can receive injected environment variables. The README describes a simple, extensible API that supports asynchronous commands and fullscreen mode. You can customize the terminal with slots, provide your own parser or fall back to the built-in one, and use multiline input with a backslash. Built-in keyboard support includes autocompletion with Tab, history browsing with the up and down arrows, and history search with Ctrl+R. You can also supply your own event resolver for extra keyboard events. The README shows examples: a simple hello-world command and a more complex nano-style editor that switches the terminal to fullscreen. Props such as commands, cursor-position and dispatched-queries use v-model for two-way binding. A demo and its source are linked from the README.…
Highlights
- Terminal emulator as a Vue component
- Commands are native Vue components
- Autocompletion, history browsing and history search
- Fullscreen mode and async commands
- Custom parsers, slots and key handling
Ratings & Reviews
No ratings yet
Be the first to rate vue-command.
People also visit
vue-command FAQ
What is vue-command?
A terminal emulator component for Vue.js, where commands are Vue components.
How are commands defined?
As native components that can receive injected environment variables. The README shows a hello-world example and a fullscreen editor example.
Does it support autocompletion and history?
Yes. Tab autocompletes, the arrow keys browse history, and Ctrl+R searches it.
Is there a demo?
Yes. The README links a demo and its source code.
What are the best vue-command alternatives?
Popular alternatives to vue-command include vue-web-terminal, @johmun/vue-tags-input and vue3-simple-typeahead. See all vue-command alternatives

















