File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
content/chat/getting-started Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,23 @@ ably apps switch
3838ably auth keys switch
3939```
4040
41- * Install "Node.js":https://nodejs.org/en version 18 or greater.
42- * Install "ts-node":https://www.npmjs.com/package/ts-node to execute TypeScript files:
41+ * Install any current LTS version of "Node.js":https://nodejs.org/en and create a new project:
4342
4443```[sh]
45- npm install ts-node
44+ npm init -y
4645```
4746
48- * Create a new project in your IDE and install the Ably Chat JavaScript SDK. This will also install the Ably Pub/Sub SDK as it is a dependency:
47+ * Install "typescript":https://www.npmjs.com/package/typescript to compile TypeScript files.
48+ * Install "ts-node":https://www.npmjs.com/package/ts-node to execute TypeScript files directly.
4949
5050```[sh]
51- npm init -y
52- tsc --init
51+ npm install @ably/chat typescript ts-node
52+ ```
5353
54- npm install @ably/chat
54+ * Create a default TypeScript configuration in your project
55+
56+ ```[sh]
57+ npx tsc --init
5558```
5659
5760<aside data-type='note'>
You can’t perform that action at this time.
0 commit comments