Install Swagger on Ubuntu

Install npm

$ sudo apt-get install npm

$ sudo npm install npm –g  // upgrade npm to latest version

You may encounter the following error:

/usr/bin/env: node: No such file or directory

This is often a misnaming error, if you install from a package manager you bin may be called nodejs, so you just need to symlink it like so:

$ sudo ln -s /usr/bin/nodejs /usr/bin/node

Install Swagger

git clone https://github.com/swagger-api/swagger-editor.git
cd swagger-editornpm start

If Swagger is started successfully, you can connect web server on http://localhost:8080.

时间: 2024-11-04 15:35:51

Install Swagger on Ubuntu的相关文章

(转) How to install eclipse in ubuntu 12.04

源地址:http://www.krizna.com/ubuntu/install-eclipse-in-ubuntu-12-04/ Eclipse installation in ubuntu 12.04 is very simple . you can install eclipse using “software center” but you may not get the latest version, better download the latest version and ins

Install golang on Ubuntu 14.04 LTS

1. Install golang on Ubuntu 14.04 LTS a)~$ sudo apt-get install golang                   success b)~$ sudo add-apt-repository ppa:gophers/go ~$ sudo apt-get update ~$ sudo apt-get install golang-stable         fail c) complie from source code        

Install ntopng on Ubuntu 14.04 Server

please check http://www.nmon.net/apt-stable/ 1. echo -e "deb http://www.nmon.net/apt-stable/14.04/ x64/\ndeb http://www.nmon.net/apt-stable/14.04/ all/" > /etc/apt/sources.list.d/ntop.list wget -qO - http://www.nmon.net/apt-stable/ntop.key |

install r on ubuntu

install r-base on ubuntu: sudo apt-get install -y r-base download rstudio: https://download1.rstudio.org/rstudio-1.0.153-amd64.deb install gui tool(rstudio) for r language: sudo dpkg -i rstudio-***-amd64.deb some examples for r language: *** # librar

Install OpenCV-Python in Ubuntu

之前安装python版opencv,需要下载whl文件,进行安装 今天发现一个简单的方法. Install OpenCV-Python in Ubuntu Install package python-opencv with following command in terminal (as root user). $ sudo apt-get install python-opencv Open Python IDLE (or IPython) and type following codes

How to Install PhantomJS on Ubuntu 16.04

Introduction PhantomJS is a scripted, headless browser that can be used for automating web page interaction. PhantomJS is a free, open source and distributed under the BSD license. PhantomJS is based on WebKit and is very similar browsing environment

install postgresql in ubuntu

摘要:install postgresql in ubuntu 使用apt-get install postgresql-9.3无法安装 In Ubuntu official repositories only PostgreSQL 9.1 is available. n order to get PostgreSQL v9.2 in your VPS using apt you should follow the official PostgreSQL procedure for Ubuntu

How To Install Docker On Ubuntu 18.04

Docker is an increasingly popular software package that creates a container for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two

Install postfix on Ubuntu 14.04.txt

Ubuntu 14.04上安装和配置Postfix邮件服务详细教程 Postfix: 用来接受和发送邮件的邮件服务器,正确说法应该叫邮件传送代理(Mail Transfer Agent,MTA),是邮件服务最重要的部分:    Dovecot: POP 和 IMAP 服务器,用来管理本地邮件目录以便用户能通过 Mail.app, Thunderbird, Mutt 等邮件客户端(又叫邮件用户代理 Mail User Agent, MUA)登陆和下载邮件:    Postgrey: 邮件灰名单工具