Skip to content

Commit 817ea7b

Browse files
committed
Fix install example in readme
Closes #7051
1 parent 370f7c4 commit 817ea7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# CodeMirror
22

33
[![Build Status](https://github.com/codemirror/codemirror5/workflows/main/badge.svg)](https://github.com/codemirror/codemirror5/actions)
4-
[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)
54

65
CodeMirror is a versatile text editor implemented in JavaScript for
76
the browser. It is specialized for editing code, and comes with over
@@ -33,7 +32,7 @@ Either get the [zip file](https://codemirror.net/5/codemirror.zip) with
3332
the latest version, or make sure you have [Node](https://nodejs.org/)
3433
installed and run:
3534

36-
npm install codemirror
35+
npm install codemirror@5
3736

3837
**NOTE**: This is the source repository for the library, and not the
3938
distribution channel. Cloning it is not the recommended way to install

0 commit comments

Comments
 (0)