1. get-port-cli
Get an available port
get-port-cli
Package: get-port-cli
Created by: sindresorhus
Last modified: Sat, 18 Jun 2022 07:52:51 GMT
Version: 3.0.0
License: MIT
Downloads: 157,128
Repository: https://github.com/sindresorhus/get-port-cli

Install

npm install get-port-cli
yarn add get-port-cli

get-port-cli

Get an available port

Install

 npm install --global get-port-cli

Usage

$ get-port --help

  Usage
    $ get-port <preferred-ports>…

  Options
    --host, -h  The host on which port resolution should be performed. Can be either an IPv4 or IPv6 address.

  Examples
    $ get-port
    51402
    $ get-port 91929192 2324 732842342
    2324
    $ get-port 80
    9090
    $ get-port --host=127.0.0.1
    55740
    $ get-port 3000 3002 --host=127.0.0.1
    3002

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin