# How to install and use the latest version of Aurelia?

**URL:** <https://discourse.aurelia.io/t/how-to-install-and-use-the-latest-version-of-aurelia/6532>\
**Category:** vNext\
**Created:** [November 2, 2025, 12:09pm UTC](https://discourse.aurelia.io/t/how-to-install-and-use-the-latest-version-of-aurelia/6532 "2025-11-02T12:09:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![euglv](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/euglv/32/1858_2.png) [@euglv](https://discourse.aurelia.io/u/euglv)\
**Post date:** [November 2, 2025, 12:09pm UTC](https://discourse.aurelia.io/t/how-to-install-and-use-the-latest-version-of-aurelia/6532/1 "2025-11-02T12:09:08Z")

</div>

Looks like that when you call `npm install aurelia` the latest version is not installed. Installed version of Aurelia is missing recent changes and bug fixes.

When I try to clone the whole mono repo and use it locally as described in [docs](https://docs.aurelia.io/community-contribution/building-and-testing-aurelia) - it does not work.

Command `npm ci` is failing with error:

> **No native build was found for @lmdb/lmdb-win32-x64**
>
> ```bash
> C:\Projects\aurelia>npm ci
> npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
> npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
> npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
> npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
> npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
> npm warn deprecated glob@5.0.15: Glob versions prior to v9 are no longer supported
> npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
> npm warn deprecated @playwright/test@1.39.0: Please update to the latest version of Playwright to test up-to-date browsers.
> npm warn deprecated argv@0.0.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
> npm warn deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
> npm warn deprecated npm i nyc
> npm warn deprecated Visit https://istanbul.js.org/integrations for other alternatives.
> npm warn deprecated codecov@3.8.3: https://about.codecov.io/blog/codecov-uploader-deprecation-plan/
> npm warn deprecated eslint@8.53.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
> npm warn cleanup Failed to remove some directories [
> npm warn cleanup [
> npm warn cleanup '\\\\?\\C:\\Projects\\aurelia\\node_modules',
> npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Projects\aurelia\node_modules\v8-heapsnapshot\node_modules\@types'] {
> npm warn cleanup errno: -4048,
> npm warn cleanup code: 'EPERM',
> npm warn cleanup syscall: 'rmdir',
> npm warn cleanup path: 'C:\\Projects\\aurelia\\node_modules\\v8-heapsnapshot\\node_modules\\@types'
> npm warn cleanup }
> npm warn cleanup ],
> npm warn cleanup [
> npm warn cleanup '\\\\?\\C:\\Projects\\aurelia\\node_modules\\istanbul\\node_modules',
> npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Projects\aurelia\node_modules\istanbul\node_modules\resolve'] {
> npm warn cleanup errno: -4048,
> npm warn cleanup code: 'EPERM',
> npm warn cleanup syscall: 'rmdir',
> npm warn cleanup path: 'C:\\Projects\\aurelia\\node_modules\\istanbul\\node_modules\\resolve'
> npm warn cleanup }
> npm warn cleanup ]
> npm warn cleanup ]
> npm error code 1
> npm error path C:\Projects\aurelia\node_modules\lmdb
> npm error command failed
> npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build-optional-packages
> npm error C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\index.js:77
> npm error throw new Error('No native build was found for ' + target + '\n attempted loading from: ' + dir + ' and package:' +
> npm error ^
> npm error
> npm error Error: No native build was found for platform=win32 arch=x64 runtime=node abi=127 uv=1 libc=glibc node=22.19.0npm error attempted loading from: C:\Projects\aurelia\node_modules\lmdb and package: @lmdb/lmdb-win32-x64
> npm error
> npm error at load.path (C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\index.js:77:9)
> npm error at load (C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\index.js:29:25)
> npm error at Object.<anonymous> (C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\build-test.js:19:19)
> npm error at Module._compile (node:internal/modules/cjs/loader:1706:14)
> npm error at Object..js (node:internal/modules/cjs/loader:1839:10)
> npm error at Module.load (node:internal/modules/cjs/loader:1441:32)
> npm error at Function._load (node:internal/modules/cjs/loader:1263:12)
> npm error at TracingChannel.traceSync (node:diagnostics_channel:322:14)
> npm error at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
> npm error at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
> npm error
> npm error Node.js v22.19.0
> npm error
> npm error The failure above indicates the primary issue with the native builds which are included for all major platforms. Will now attempt to build the package locally in case this can be resolved by re-compiling.
> npm error node:internal/child_process:420
> npm error throw new ErrnoException(err, 'spawn');
> npm error ^
> npm error
> npm error Error: spawn EINVAL
> npm error at ChildProcess.spawn (node:internal/child_process:420:11)
> npm error at Object.spawn (node:child_process:786:9)
> npm error at build (C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\bin.js:32:8)
> npm error at preinstall (C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\bin.js:41:32)
> npm error at C:\Projects\aurelia\node_modules\node-gyp-build-optional-packages\bin.js:14:7
> npm error at ChildProcess.exithandler (node:child_process:424:5)
> npm error at ChildProcess.emit (node:events:519:28)
> npm error at maybeClose (node:internal/child_process:1101:16)
> npm error at Socket.<anonymous> (node:internal/child_process:456:11)
> npm error at Socket.emit (node:events:519:28) {
> npm error errno: -4071,
> npm error code: 'EINVAL',
> npm error syscall: 'spawn'
> npm error }
> npm error
> npm error Node.js v22.19.0
> npm error A complete log of this run can be found in: C:\Users\eug\AppData\Local\npm-cache\_logs\2025-11-02T11_47_52_574Z-debug-0.log
> 
> ```

Command `npm install`works on cloned mono repo, but later the command `npm run build`fails:

> **Error: Could not load C:\\\\Projects\\\\aurelia\\\\node\_modules@aurelia\\\\runtime-html\\\\dist\\\\esm\\\\index.mjs (imported by ../app-repeat-view/index.js): ENOENT: no such file or directory, open ‘C:\\\\Projects\\\\aurelia\\\\node\_modules@aurelia\\\\runtime-html\\\\dist\\\\esm\\\\index.mjs’**
>
> ```auto
> C:\Projects\aurelia>npm run build
> 
> > @aurelia/monorepo@2.0.0-beta.25 build
> > turbo build --filter=@aurelia/* --filter=aurelia
> 
> ╭──────────────────────────────────────────────────────────────────────────╮
> │ │
> │ Update available v2.3.3 ≫ v2.6.0 │
> │ Changelog: https://github.com/vercel/turborepo/releases/tag/v2.6.0 │
> │ Run "npx @turbo/codemod@latest update" to update │
> │ │
> │ Follow @turborepo for updates: https://x.com/turborepo │
> ╰──────────────────────────────────────────────────────────────────────────╯
> turbo 2.3.3
> 
> • Packages in scope: @aurelia/ __tests__ , @aurelia/ __tests__ cjs, @aurelia/addons, @aurelia/babel-jest, @aurelia/benchmarks, @aurelia/compat-v1, @aurelia/dialog, @aurelia/expression-parser, @aurelia/fetch-client, @aurelia/http-server, @aurelia/i18n, @aurelia/kernel, @aurelia/metadata, @aurelia/parcel-transformer, @aurelia/platform, @aurelia/platform-browser, @aurelia/plugin-conventions, @aurelia/plugin-gulp, @aurelia/route-recognizer, @aurelia/router, @aurelia/router-direct, @aurelia/runtime, @aurelia/runtime-html, @aurelia/state, @aurelia/store-v1, @aurelia/template-compiler, @aurelia/testing, @aurelia/ts-jest, @aurelia/ui-virtualization, @aurelia/validation, @aurelia/validation-html, @aurelia/validation-i18n, @aurelia/vite-plugin, @aurelia/web-components, @aurelia/webpack-loader, aurelia
> • Running build in 36 packages
> • Remote caching disabled
> @aurelia/platform:build: cache miss, executing 29687659a8e156d5
> @aurelia/benchmarks:build: cache miss, executing 85170e1d44f19cc2
> @aurelia/route-recognizer:build: cache miss, executing 3e38e38a8183eb98
> @aurelia/metadata:build: cache miss, executing e060e983e4da3fb5
> @aurelia/platform:build:
> @aurelia/platform:build: > @aurelia/platform@2.0.0-beta.26 build
> @aurelia/platform:build: > rollup -c
> @aurelia/platform:build:
> @aurelia/metadata:build:
> @aurelia/metadata:build: > @aurelia/metadata@2.0.0-beta.26 build
> @aurelia/metadata:build: > rollup -c
> @aurelia/metadata:build:
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build: > @aurelia/benchmarks@2.0.0-beta.25 build
> @aurelia/benchmarks:build: > npm run build:local && npm run build:latest
> @aurelia/benchmarks:build:
> @aurelia/route-recognizer:build:
> @aurelia/route-recognizer:build: > @aurelia/route-recognizer@2.0.0-beta.26 build
> @aurelia/route-recognizer:build: > rollup -c
> @aurelia/route-recognizer:build:
> @aurelia/platform:build:
> @aurelia/platform:build: src/index.ts → dist, dist...
> @aurelia/metadata:build:
> @aurelia/metadata:build: src/index.ts → dist, dist...
> @aurelia/route-recognizer:build:
> @aurelia/route-recognizer:build: src/index.ts → dist, dist...
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build: > @aurelia/benchmarks@2.0.0-beta.25 build:local
> @aurelia/benchmarks:build: > cd local && npm run build
> @aurelia/benchmarks:build:
> @aurelia/metadata:build: created dist, dist in 1.8s
> @aurelia/metadata:build:
> @aurelia/metadata:build: src/index.ts → dist, dist...
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build: > build
> @aurelia/benchmarks:build: > rollup -c
> @aurelia/benchmarks:build:
> @aurelia/platform:build: created dist, dist in 2.7s
> @aurelia/platform:build:
> @aurelia/platform:build: src/index.ts → dist, dist...
> @aurelia/route-recognizer:build: created dist, dist in 2.9s
> @aurelia/route-recognizer:build:
> @aurelia/route-recognizer:build: src/index.ts → dist, dist...
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build: ../app-repeat-view → ../app-repeat-view/dist/app.local.js...
> @aurelia/metadata:build: created dist, dist in 1.5s
> @aurelia/benchmarks:build: [!] Error: Could not load C:\Projects\aurelia\node_modules\@aurelia\runtime-html\dist\esm\index.mjs (imported by ../app-repeat-view/index.js): ENOENT: no such file or directory, open 'C:\Projects\aurelia\node_modules\@aurelia\runtime-html\dist\esm\index.mjs'
> @aurelia/benchmarks:build: at open (node:internal/fs/promises:641:25)
> @aurelia/benchmarks:build: at Object.readFile (node:internal/fs/promises:1245:14)
> @aurelia/benchmarks:build: at C:\Projects\aurelia\node_modules\rollup\dist\shared\rollup.js:21061:24
> @aurelia/benchmarks:build: at Queue.work (C:\Projects\aurelia\node_modules\rollup\dist\shared\rollup.js:21427:32)
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build:
> @aurelia/benchmarks:build: npm error Lifecycle script `build:local` failed with error:
> @aurelia/benchmarks:build: npm error code 1
> @aurelia/benchmarks:build: npm error path C:\Projects\aurelia\benchmarks
> @aurelia/benchmarks:build: npm error workspace @aurelia/benchmarks@2.0.0-beta.25
> @aurelia/benchmarks:build: npm error location C:\Projects\aurelia\benchmarks
> @aurelia/benchmarks:build: npm error command failed
> @aurelia/benchmarks:build: npm error command C:\WINDOWS\system32\cmd.exe /d /s /c cd local && npm run build
> @aurelia/benchmarks:build: npm error Lifecycle script `build` failed with error:
> @aurelia/benchmarks:build: npm error code 1
> @aurelia/benchmarks:build: npm error path C:\Projects\aurelia\benchmarks
> @aurelia/benchmarks:build: npm error workspace @aurelia/benchmarks@2.0.0-beta.25
> @aurelia/benchmarks:build: npm error location C:\Projects\aurelia\benchmarks
> @aurelia/benchmarks:build: npm error command failed
> @aurelia/benchmarks:build: npm error command C:\WINDOWS\system32\cmd.exe /d /s /c npm run build:local && npm run build:latest
> @aurelia/benchmarks:build: ERROR: command finished with error: command (C:\Projects\aurelia\benchmarks) C:\Program Files\nodejs\npm.cmd run build exited (1)
> @aurelia/benchmarks#build: command (C:\Projects\aurelia\benchmarks) C:\Program Files\nodejs\npm.cmd run build exited (1)
> 
> Tasks: 1 successful, 4 total
> Cached: 0 cached, 4 total
> Time: 10.101s
> Failed: @aurelia/benchmarks#build
> 
> ERROR run failed: command exited (1)
> 
> ```

---

<div class="post-metadata">

**Author:** ![bigopon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/bigopon/32/18_2.png) [@bigopon](https://discourse.aurelia.io/u/bigopon)\
**Post date:** [November 2, 2025, 12:35pm UTC](https://discourse.aurelia.io/t/how-to-install-and-use-the-latest-version-of-aurelia/6532/2 "2025-11-02T12:35:54Z")

</div>

Latest version is beta 25 atm, what did you get?

---

<div class="post-metadata">

**Author:** ![euglv](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/euglv/32/1858_2.png) [@euglv](https://discourse.aurelia.io/u/euglv)\
**Post date:** [November 2, 2025, 1:31pm UTC](https://discourse.aurelia.io/t/how-to-install-and-use-the-latest-version-of-aurelia/6532/3 "2025-11-02T13:31:36Z")

</div>

I get beta 25, but it doesn’t include recent pool requests:

For example, newly added `loaded` hook does not work: [feat(router): loaded method by Vheissu · Pull Request #2267 · aurelia/aurelia · GitHub](https://github.com/aurelia/aurelia/pull/2267)  
And other changes:  
[fix(au-compose): apply surrogate attributes to host by Vheissu · Pull Request #2272 · aurelia/aurelia · GitHub](https://github.com/aurelia/aurelia/pull/2272)  
[fix(router): inconsistent URL generation by Sayan751 · Pull Request #2254 · aurelia/aurelia · GitHub](https://github.com/aurelia/aurelia/pull/2254)
