Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»AngularJs»How to Check Angular Version (Application+CLI)

    How to Check Angular Version (Application+CLI)

    By RahulFebruary 23, 20233 Mins Read

    Angular is a popular web application development framework that is widely used by developers worldwide. The framework is constantly evolving, with new features and functionalities being added in every release. As a developer, it is essential to keep up with the latest version of Angular to ensure that your application is using the latest features, and to stay up-to-date with any security fixes or bug patches.

    Advertisement

    In this article, we will explain how to check the Angular version of your application and the Angular CLI version installed on your system. We will guide you through the steps to check the version of your Angular application and provide you with the necessary commands to check the version of the Angular CLI. By following these steps, you can ensure that you are using the latest version of Angular and take advantage of its new features and functionalities.

    Check Angular Application Version

    You can enter the following command in the Command Prompt or Terminal window while in the root directory of your Angular application:

    npm list @angular/core 
    

    This command displays the version of the @angular/core package installed in your application, along with its dependencies.

    You can also find the angular version used by the application under package.json file. To check this Go into node_modules/@angular/core/package.json file and check version field.

    You will see the version like this:

      "version": "8.2.14"
    

    Check Installed Angular CLI Version

    Angular provides `ng` command to work with command line. To find out installed Angular version execute following command from terminal:

    ng --version 
    
    Output:
    _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 8.3.0 Node: 12.18.2 OS: linux x64 Angular: 8.2.14 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ----------------------------------------------------------- @angular-devkit/architect 0.803.29 @angular-devkit/build-angular 0.803.29 @angular-devkit/build-optimizer 0.803.29 @angular-devkit/build-webpack 0.803.29 @angular-devkit/core 8.3.29 @angular-devkit/schematics 8.3.0 (cli-only) @angular/cli @ngtools/webpack 8.3.29 @schematics/angular 8.3.0 (cli-only) @schematics/update 0.803.0 (cli-only) rxjs 6.4.0 typescript 3.5.3 webpack 4.39.2

    Conclusion

    By following the above steps, you can check the Angular CLI version installed on your system and the Angular version used in your application. Checking the Angular version is important to ensure that you are using the latest features and functionalities of the Angular framework, and to identify any compatibility issues that may arise when updating your application.

    Angular version
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Find Tomcat Version

    How to Check Tomcat Version on Linux

    How to Install Angular CLI on Ubuntu 22.04

    How to Install Angular CLI on Ubuntu 22.04

    How to Check Linux Version

    How To Check OS Version with Linux Command Line

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.