# Does rustc version reflect the rust installed version?

**URL:** <https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617>\
**Category:** Uncategorized\
**Created:** [November 15, 2021, 7:32pm UTC](https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617 "2021-11-15T19:32:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![litch0](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/litch0/32/8604_2.png) [@litch0](https://internals.rust-lang.org/u/litch0)\
**Post date:** [November 15, 2021, 7:32pm UTC](https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617/1 "2021-11-15T19:32:10Z")

</div>

Hello there, I have been resourching a way for me to detect which version of rust I have installed in my system, the problem is that I want to know the version of the language, not of cargo or rustc.

I notice that:

```shell
rustup update                                                   
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'beta-x86_64-unknown-linux-gnu'
info: checking for self-updates

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.56.1 (59eed8a2a 2021-11-01)
    beta-x86_64-unknown-linux-gnu unchanged - rustc 1.57.0-beta.3 (708d57e28 2021-11-01)

```

which does infact reflect on the actual version of the rust language in the github

 ![image](https://us1.discourse-cdn.com/flex002/uploads/rustlang/original/2X/8/83d54fe065e1991f3b626fa79d963d3e029cbab4.png)Is this information reliable? are there other ways to check the version? if there aren't can I propose this change?

---

<div class="post-metadata">

**Author:** ![bluss](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/bluss/32/2264_2.png) [@bluss](https://internals.rust-lang.org/u/bluss)\
**Post date:** [November 15, 2021, 7:38pm UTC](https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617/2 "2021-11-15T19:38:33Z")

</div>

yes, that's the same version. Simplest way to check IMO would be to run `rustc -V` or maybe `rustc +stable -V` if you're specifying a non-default toolchain

---

<div class="post-metadata">

**Author:** ![litch0](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/litch0/32/8604_2.png) [@litch0](https://internals.rust-lang.org/u/litch0)\
**Post date:** [November 20, 2021, 2:13am UTC](https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617/3 "2021-11-20T02:13:42Z")

</div>

Thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [February 18, 2022, 2:14am UTC](https://internals.rust-lang.org/t/does-rustc-version-reflect-the-rust-installed-version/15617/4 "2022-02-18T02:14:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
